pgRouting through 4.0.3 contains a NULL pointer dereference vulnerability in pgr_turnRestrictedPath that allows
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 4 Dec 2026, 04:32 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pgRoutingpgRouting | Affected
| Fixed in– |
GitHubpgRoutingpkg:github/pgRoutingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor vendor advisories for updates. Until a fix is available, avoid supplying restriction rows with NULL or empty path arrays to pgr_turnRestrictedPath to prevent triggering the crash.
Description
pgRouting versions through 4.0.3 have a NULL pointer dereference vulnerability in the pgr_turnRestrictedPath function. This flaw allows database users to crash the PostgreSQL backend by providing restriction rows with NULL or empty path arrays. The vulnerability causes a segmentation fault by invoking back() and pop_back() on an empty vector, terminating all sessions and forcing crash recovery.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144602 (opens in a new tab)
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/get_check_data.cpp (opens in a new tab)
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/cpp_common/rule.cpp (opens in a new tab)
- github.com/pgRouting/pgrouting/blob/v4.0.3/src/ksp/turnRestrictedPath_driver.cpp (opens in a new tab)
- vulncheck.com/advisories/pgrouting-through-4.0.3-denial-of-service-via-pgr-turnrestrictedpath-null-restriction-path (opens in a new tab)