MEDIUM · CVSS 6.5 Published: 2026-12-04
CVE-2026-144602 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-144602 |
|---|---|
| Base Severity / Score | MEDIUM (6.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-476 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/get_check_data.cpp#L533-L545
- https://github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/rule.cpp#L36-L43
- https://github.com/pgRouting/pgrouting/blob/v4.0.3/src/ksp/turnRestrictedPath_driver.cpp#L142-L150
- https://www.vulncheck.com/advisories/pgrouting-through-4.0.3-denial-of-service-via-pgr-turnrestrictedpath-null-restriction-path
Related Security Advisories
CVE-2026-144601 MEDIUM 6.5
CVE-2026-144603 HIGH 7.6
CVE-2026-144599 MEDIUM 6.4
CVE-2026-144600 MEDIUM 6.5
CVE-2026-144604 MEDIUM 6.5
CVE-2026-144605 MEDIUM 4.3
CVE-2026-144606 MEDIUM 5.5