{"id":"CVE-2026-144605","aliases":["DEBIAN-CVE-2026-144605","EUVD-2026-143842","GHSA-84p6-mx6v-c7gx"],"status":"published","title":"PostGIS through 3.7.0 Out-of-Bounds Read via rtpg_chartrim in ST_Reclass","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00432,"percentile":0.39262,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2026-12-04T01:08:34Z","modified":"2026-12-04T21:02:44Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"postgis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.2+dfsg-1","3.3.3+dfsg-1","3.3.3+dfsg-1~exp1","3.3.3+dfsg-2","3.3.3+dfsg-3","3.3.3+dfsg-4","3.3.3+dfsg-5","3.3.4+dfsg-1","3.4.0+dfsg-1","3.4.0+dfsg-2","3.4.0+dfsg-2~exp1","3.4.0+dfsg-3","3.4.0+dfsg-4","3.4.0~beta1+dfsg-1~exp1","3.4.0~beta1+dfsg-1~exp2","3.4.0~beta1+dfsg-1~exp3","3.4.0~beta1+dfsg-1~exp4","3.4.0~beta1+dfsg-1~exp5","3.4.0~beta1+dfsg-1~exp6","3.4.0~beta1+dfsg-1~exp7","3.4.0~beta2+dfsg-1~exp1","3.4.0~rc1+dfsg-1~exp1","3.4.0~rc2+dfsg-1~exp1","3.4.0~rc2+dfsg-1~exp2","3.4.0~rc3+dfsg-1~exp1","3.4.0~rc4+dfsg-1~exp1","3.4.1+dfsg-1","3.4.1+dfsg-1~exp1","3.4.2+dfsg-1","3.4.2+dfsg-2","3.4.3+dfsg-1","3.4.3+dfsg-2","3.4.3+dfsg-2~exp1","3.5.0+dfsg-1","3.5.0~alpha1+dfsg-1~exp1","3.5.0~alpha2+dfsg-1~exp1","3.5.0~alpha2+dfsg-1~exp2","3.5.0~alpha2+dfsg-1~exp3","3.5.0~beta1+dfsg-1~exp1","3.5.0~beta1+dfsg-1~exp2","3.5.0~beta1+dfsg-1~exp3","3.5.0~beta1+dfsg-1~exp4","3.5.0~rc1+dfsg-1~exp1","3.5.1+dfsg-1","3.5.2+dfsg-1","3.5.3+dfsg-1","3.5.3+dfsg-1~exp1","3.5.3+dfsg-2","3.6.0+dfsg-1","3.6.0+dfsg-2","3.6.0+dfsg-3","3.6.0~alpha1+dfsg-1~exp1","3.6.0~beta1+dfsg-1~exp1","3.6.0~rc1+dfsg-1~exp1","3.6.0~rc2+dfsg-1~exp1","3.6.1+dfsg-1","3.6.1+dfsg-1~exp1","3.6.2+dfsg-1","3.6.3+dfsg-1","3.6.4+dfsg-1","3.6.4+dfsg-2","3.7.0+dfsg-1","3.7.0+dfsg-2","3.7.0~alpha1+dfsg-1~exp1","3.7.0~alpha1+dfsg-1~exp2","3.7.0~beta1+dfsg-1~exp1","3.7.0~beta2+dfsg-1~exp1","3.7.0~rc1+dfsg-1~exp1","3.7.0~rc2+dfsg-1~exp1","3.7.0~rc3+dfsg-1~exp1"]},{"source":"osv","ecosystem":"Debian:13","package":"postgis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.2+dfsg-1","3.5.3+dfsg-1","3.5.3+dfsg-1~exp1","3.5.3+dfsg-2","3.6.0+dfsg-1","3.6.0+dfsg-2","3.6.0+dfsg-3","3.6.0~alpha1+dfsg-1~exp1","3.6.0~beta1+dfsg-1~exp1","3.6.0~rc1+dfsg-1~exp1","3.6.0~rc2+dfsg-1~exp1","3.6.1+dfsg-1","3.6.1+dfsg-1~exp1","3.6.2+dfsg-1","3.6.3+dfsg-1","3.6.4+dfsg-1","3.6.4+dfsg-2","3.7.0+dfsg-1","3.7.0+dfsg-2","3.7.0~alpha1+dfsg-1~exp1","3.7.0~alpha1+dfsg-1~exp2","3.7.0~beta1+dfsg-1~exp1","3.7.0~beta2+dfsg-1~exp1","3.7.0~rc1+dfsg-1~exp1","3.7.0~rc2+dfsg-1~exp1","3.7.0~rc3+dfsg-1~exp1"]},{"source":"osv","ecosystem":"Debian:14","package":"postgis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.2+dfsg-1","3.5.3+dfsg-1","3.5.3+dfsg-1~exp1","3.5.3+dfsg-2","3.6.0+dfsg-1","3.6.0+dfsg-2","3.6.0+dfsg-3","3.6.0~alpha1+dfsg-1~exp1","3.6.0~beta1+dfsg-1~exp1","3.6.0~rc1+dfsg-1~exp1","3.6.0~rc2+dfsg-1~exp1","3.6.1+dfsg-1","3.6.1+dfsg-1~exp1","3.6.2+dfsg-1","3.6.3+dfsg-1","3.6.4+dfsg-1","3.6.4+dfsg-2","3.7.0+dfsg-1","3.7.0+dfsg-2","3.7.0~alpha1+dfsg-1~exp1","3.7.0~alpha1+dfsg-1~exp2","3.7.0~beta1+dfsg-1~exp1","3.7.0~beta2+dfsg-1~exp1","3.7.0~rc1+dfsg-1~exp1","3.7.0~rc2+dfsg-1~exp1","3.7.0~rc3+dfsg-1~exp1"]}],"products":[{"vendor":"postgis","product":"postgis"}],"references":[{"url":"https://github.com/postgis/postgis/blob/3.7.0/raster/rt_pg/rtpg_internal.c#L109-L137","tags":["technical-description","article"]},{"url":"https://github.com/postgis/postgis/commit/54ee375b4d06d713d9524e9493a30f36eeac091d","tags":["patch","fix"]},{"url":"https://www.vulncheck.com/advisories/postgis-through-3.7.0-out-of-bounds-read-via-rtpg-chartrim-in-st-reclass","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144605","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-84p6-mx6v-c7gx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144605.json","tags":["advisory"]},{"url":"https://github.com/postgis/postgis","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-144605","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144605","title":"PostGIS through 3.7.0 Out-of-Bounds Read via rtpg_chartrim in ST_Reclass","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T01:08:34.579Z","modified":"2026-12-04T15:07:20.222Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T15:18:44.408889Z"}],"euvd":[{"id":"EUVD-2026-143842","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T01:08:34Z","modified":"2026-12-04T15:07:20Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-12-04T06:37:32.271467Z"}],"ghsa":[{"id":"GHSA-84p6-mx6v-c7gx","title":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows...","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T03:30:58Z","modified":"2026-12-04T03:31:04Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-12-04T03:53:17.424965Z"}],"nvd":[{"id":"CVE-2026-144605","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T02:17:06.147Z","modified":"2026-12-04T17:19:17.237Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-125"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T17:26:29.876621Z"}],"osv":[{"id":"CVE-2026-144605","title":"PostGIS through 3.7.0 Out-of-Bounds Read via rtpg_chartrim in ST_Reclass","description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T01:08:34.579Z","modified":"2026-12-04T21:02:44.643193164Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-12-04T21:28:44.74777Z"},{"id":"DEBIAN-CVE-2026-144605","upstream":["CVE-2026-144605"],"description":"PostGIS through 3.7.0 contains an out-of-bounds read vulnerability in rtpg_chartrim that allows low-privileged database roles to read past string bounds by supplying delimiter-only ST_Reclass range tokens. Attackers can pass a reclass expression containing a token such as '()' so the trim loops overrun the string, aborting queries or crashing the backend.","status":"published","published":"2026-12-04T02:17:06.147Z","modified":"2026-12-04T18:00:08.137028929Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-12-04T18:22:15.144376Z"}]}}
