pgRouting through 4.0.3 Denial of Service via pgr_turnRestrictedPath NULL Restriction Path
- CVE-2026-144602
- GHSA-mfcq-w395-hx3p
- EUVD-2026-143845
Summary
pgRouting through version 4.0.3 contains a NULL pointer dereference in the pgr_turnRestrictedPath function. Database users can supply restriction rows with NULL or empty path arrays, which causes the Rule constructor to call back() and pop_back() on an empty vector. This triggers a segmentation fault that terminates the PostgreSQL backend, ending all sessions and forcing crash recovery. The record gives a CVSS score of 6.5 and states the issue is not in the CISA known exploited list. Operators running affected pgRouting versions should review whether untrusted users can influence the restrictions query.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
pgRouting
Affected versions Fixed in up to 4.0.3 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.