{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "3.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "54ee375b4d06d713d9524e9493a30f36eeac091d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1fdbb1cbb0e076816be06c401c5a5a2cf2c487f9"
            },
            {
              "fixed": "54ee375b4d06d713d9524e9493a30f36eeac091d"
            }
          ],
          "repo": "https://github.com/postgis/postgis",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144605.json"
  },
  "details": "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.",
  "id": "CVE-2026-144605",
  "modified": "2026-12-04T02:45:29.181894577Z",
  "published": "2026-12-04T01:08:34.579Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144605.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/postgis/postgis"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/postgis/postgis/blob/3.7.0/raster/rt_pg/rtpg_internal.c#L109-L137"
    },
    {
      "type": "FIX",
      "url": "https://github.com/postgis/postgis/commit/54ee375b4d06d713d9524e9493a30f36eeac091d"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144605"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/postgis-through-3.7.0-out-of-bounds-read-via-rtpg-chartrim-in-st-reclass"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PostGIS through 3.7.0 Out-of-Bounds Read via rtpg_chartrim in ST_Reclass"
}