CVE-2026-144602: Vulnerability in pgRouting
Patch soon. pgRouting through 4.0.3 contains a NULL pointer dereference vulnerability in pgr_turnRestrictedPath that allows database users to crash the PostgreSQL backend by supplying restriction rows with NULL or empty path arrays. Attackers can influence the restrictions query so the Rule constructor calls back() and pop_back() on an empty vector, triggering a segmentation fault that terminates all sessions and forces...
CWE-476
- Exploitation
- None confirmed
- Severity
- 7.1 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-mfcq-w395-hx3p
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-476
- Published
- 4 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- pgRouting Through 4.0.3; Version 0 ≤4.0.3. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/rule.cpp
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/ksp/turnRestrictedPath_driver.cpp
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/get_check_data.cpp
- vulncheck.com/advisories/pgrouting-through-4.0.3-denial-of-service-via-pgr-turnrestrict...
Related
- pgRouting vulnerabilities Recent advisories, watch this product