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.
https://github.com/postgis/postgis/releases/tag/3.7.0
https://github.com/postgis/postgis/commit/b76210d7907abc3a7a4bf38b0dbf93194dde36a2
https://github.com/postgis/postgis/commit/0fabe1e64e060a59f0bd4ddecf90775b8b3f2515
https://github.com/postgis/postgis/blob/3.6.4/raster/rt_core/rt_raster.c#L489-L524
Published: 2026-12-04
Updated: 2026-12-04
Base Score: 6.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P
Severity: Medium
Base Score: 7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Severity: High
Base Score: 7.2
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00742