CVE-2026-144602 PUBLISHED

pgRouting through 4.0.3 Denial of Service via pgr_turnRestrictedPath NULL Restriction Path

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor pgRouting
Product pgRouting
Versions Default: unaffected
  • affected from 0 to 4.0.3 (incl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • NULL Pointer Dereference CWE