pgRouting through 4.0.3 contains a NULL pointer dereference vulnerability in pgrturnRestrictedPath that allows database users to crash the…
CVE-2026-144602
pgRouting through 4.0.3 contains a NULL pointer dereference vulnerability in pgrturnRestrictedPath 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 popback() on an empty vector, triggering a segmentation fault that terminates all sessions and forces crash recovery.
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 December 2026
- Last updated
- 4 December 2026
- Weakness
- CWE-476
- Assigner
- VulnCheck
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- 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://github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/get_check_data.cpp#L533-L545
- https://www.vulncheck.com/advisories/pgrouting-through-4.0.3-denial-of-service-via-pgr-turnrestrictedpath-null-restriction-path
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-144602