CVE-2026-144604: PostGIS through 3.7.0 Out-of-Bounds Read via ST_Reclass Range Parsing
PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in RASTERreclass that allows low-privileged database roles to crash the server by supplying a range consisting only of a bracket. Attackers can call STReclass with a crafted reclass expression like '(:1' to read past the token array, triggering SIGSEGV and a cluster restart that drops all sessions.
Affected Software
Event History
Frequently Asked Questions
Who can trigger the crash?
A low-privileged database role that can call ST_Reclass can trigger it. Exploitation is network-reachable through the database interface and does not require user interaction.
What input is required to exploit the issue?
The attacker must invoke ST_Reclass with a crafted reclass expression containing a range made only of a bracket, such as '(:1'. This causes RASTER_reclass to read past its token array.
What is the operational impact of successful exploitation?
Successful exploitation triggers SIGSEGV, causing the server to crash and the cluster to restart. The restart drops all active sessions, resulting in a denial of service.
What can be done while patching is pending?
Restrict low-privileged roles from calling ST_Reclass where feasible, since the vulnerable path requires access to that function. Monitor for ST_Reclass calls using malformed reclass expressions such as '(:1'.