CVE-2026-144602: pgRouting through 4.0.3 Denial of Service via pgr_turnRestrictedPath NULL Restriction Path
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A database user who can invoke pgr_turnRestrictedPath and influence the restrictions query results can trigger the crash by supplying restriction rows with NULL or empty path arrays.
What is the operational impact of successful exploitation?
Successful exploitation causes a PostgreSQL backend segmentation fault, terminates all sessions, and forces crash recovery. The described impact is denial of service; no confidentiality or integrity impact is stated.
Are versions after 4.0.3 affected?
The affected range provided is pgRouting through version 4.0.3. The data does not state whether a fixed version is available.