PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 4 Dec 2026, 04:33 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| postgisPostGIS | Affected
| Fixed in– |
GitHubPostGISpkg:github/PostGISOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict access to vulnerable PostGIS functions for low-privileged users if possible to reduce risk.
Description
PostGIS versions through 3.7.0 have an out-of-bounds read vulnerability in the rtpg_chartrim function. This flaw allows low-privileged database roles to read beyond string boundaries by providing delimiter-only ST_Reclass range tokens. Specifically, attackers can use reclass expressions with tokens like '()' that cause the trim operation to overrun the string, leading to query abortion or backend crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144605 (opens in a new tab)
- github.com/postgis/postgis/commit/54ee375b4d06d713d9524e9493a30f36eeac091d (opens in a new tab)
- github.com/postgis/postgis/blob/3.7.0/raster/rt_pg/rtpg_internal.c (opens in a new tab)
- vulncheck.com/advisories/postgis-through-3.7.0-out-of-bounds-read-via-rtpg-chartrim-in-st-reclass (opens in a new tab)