AploSec / Disclosures / CVE-2026-144603
PostGIS before 3.7.0 Integer Overflow via rt_raster_generate_new_band
CVE-2026-144603 · published 2026-12-04
In plain words: this type of bug lets someone read or corrupt memory the program should keep private (memory safety). A fixed release is listed.
Summary
CVE-2026-144603 affects PostGIS (Server) < 3.7.0: Integer Overflow via rt_raster_generate_new_band (CWE-190). Fixed in 3.7.0. CVSS 4.0 base score 7.2 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Paul Wouters (Aiven), Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade PostGIS to 3.7.0 or later. Releases in the affected range (< 3.7.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-04 CVE published
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/postgis-before-3.7.0-integer-overflow-via-rt-raster-generate-new-band
- Fix commithttps://github.com/postgis/postgis/commit/b76210d7907abc3a7a4bf38b0dbf93194dde36a2
- Fix commithttps://github.com/postgis/postgis/commit/0fabe1e64e060a59f0bd4ddecf90775b8b3f2515
- Vulnerable codehttps://github.com/postgis/postgis/blob/3.6.4/raster/rt_core/rt_raster.c#L489-L524
- Releasehttps://github.com/postgis/postgis/releases/tag/3.7.0
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144603
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144603
- Severity
- High 7.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- PostGIS
- Ecosystem
- Server
- Affected
- < 3.7.0
- Fixed
- 3.7.0
- Weakness
- CWE-190
- CNA
- VulnCheck
- Credit
- Paul Wouters (Aiven)finderZachariah Mithani (AploSec)finder