{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.13.0"
                  },
                  {
                    "fixed": "3.15.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "840d85dcb76aaf7c92f8d168a69f01e3987b25d2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.15.1",
                "range": [
                  {
                    "fixed": "355bdf141fbe22ba87d80c8324fc23213bfe7bcd"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "d7957246c588aa9c690efe67924fd70e741a06ab"
            },
            {
              "fixed": "355bdf141fbe22ba87d80c8324fc23213bfe7bcd"
            },
            {
              "fixed": "b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5"
            },
            {
              "fixed": "840d85dcb76aaf7c92f8d168a69f01e3987b25d2"
            }
          ],
          "repo": "https://github.com/libgeos/geos",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137070.json"
  },
  "details": "GEOS 3.13.0 before 3.15.1 contains an uncontrolled recursion vulnerability in RectangleContains::isContainedInBoundary that recurses indefinitely on curved geometries returned by getGeometryN. Attackers can supply crafted WKT or WKB CircularString, CompoundCurve, or CurvePolygon geometries tested via PreparedGeometry::contains or GEOSPreparedContains against a prepared rectangle to crash the process with a stack overflow.",
  "id": "CVE-2026-137070",
  "modified": "2026-11-26T20:45:40.667360916Z",
  "published": "2026-11-25T19:33:05.897Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137070.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/libgeos/geos/releases/tag/3.15.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137070"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgeos/geos/pull/1617"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/libgeos/geos"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary"
}