Bug 2590568 (CVE-2026-144602)

Summary: CVE-2026-144602 pgrouting: pgRouting: Denial of Service via NULL pointer dereference in pgr_turnRestrictedPath
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in pgRouting. An authenticated database user can trigger a Denial of Service (DoS) by supplying invalid or empty restriction path data to the pgr_turnRestrictedPath function. This causes an invalid memory access that crashes the underlying PostgreSQL database process, terminating active user sessions and forcing the database into crash recovery.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2590845, 2590846    
Bug Blocks:    

Description OSIDB Bzimport 2026-12-04 01:33:04 UTC
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.