AploSec / Disclosures / CVE-2026-144602
pgRouting through 4.0.3 Denial of Service via pgr_turnRestrictedPath NULL Restriction Path
CVE-2026-144602 · published 2026-12-04
In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.
Summary
CVE-2026-144602 affects pgRouting (Server) <= 4.0.3: Denial of Service via pgr_turnRestrictedPath NULL Restriction Path (CWE-476). No fixed release is listed. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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 crash recovery.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/pgrouting-through-4.0.3-denial-of-service-via-pgr-turnrestrictedpath-null-restriction-path
- Vulnerable codehttps://github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/rule.cpp#L36-L43
- Vulnerable codehttps://github.com/pgRouting/pgrouting/blob/v4.0.3/src/ksp/turnRestrictedPath_driver.cpp#L142-L150
- Vulnerable codehttps://github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/get_check_data.cpp#L533-L545
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144602
- Severity
- High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- pgRouting
- Ecosystem
- Server
- Affected
- <= 4.0.3
- Fixed
- None
- Weakness
- CWE-476
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder