CVE-2026-144603: PostGIS before 3.7.0 Integer Overflow via rt_raster_generate_new_band
PostGIS before 3.7.0 contains an integer overflow vulnerability in rtrastergeneratenewband that allows authenticated database roles to access out-of-bounds memory by creating oversized raster bands. Attackers can call STMakeEmptyRaster and STAddBand with large dimensions, then STValue or STSetValue to read or write backend heap memory, crashing the cluster.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated database role that can invoke the affected PostGIS raster functions can exploit it. The described attack uses ST_MakeEmptyRaster and ST_AddBand with large dimensions, followed by ST_Value or ST_SetValue.
What is the likely operational impact?
An attacker can access out-of-bounds backend heap memory, including reading or writing that memory. The vulnerability can crash the PostgreSQL cluster.
Which versions require remediation?
PostGIS versions before 3.7.0 are affected. Upgrade to 3.7.0 or later.