PostGIS before 3.7.0 Integer Overflow via rt_raster_generate_new_band
- CVE-2026-144603
- GHSA-qx52-3vp3-2r8p
- EUVD-2026-143844
Summary
PostGIS versions before 3.7.0 contain an integer overflow in the rt_raster_generate_new_band function. An authenticated database role can exploit it by creating raster bands with oversized dimensions, using ST_MakeEmptyRaster and ST_AddBand, and then calling ST_Value or ST_SetValue. This gives access to out-of-bounds backend heap memory, allowing reads and writes that can crash the database cluster. The advisory is rated CVSS 7.6. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
PostGIS before 3.7.0 contains an integer overflow vulnerability in rt_raster_generate_new_band that allows authenticated database roles to access out-of-bounds memory by creating oversized raster bands. Attackers can call ST_MakeEmptyRaster and ST_AddBand with large dimensions, then ST_Value or ST_SetValue to read or write backend heap memory, crashing the cluster.
Text from the CVE.org record.
Recommendation
PostGIS
- If you run a version before 3.7.0update to 3.7.0 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
PostGIS
Affected versions Fixed in before 3.7.0 3.7.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.