{"id":"CVE-2026-137070","summary":"GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary","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.","modified":"2026-11-26T21:02:14.092409465Z","published":"2026-11-25T19:33:05.897Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137070.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-674"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libgeos/geos","events":[{"introduced":"d7957246c588aa9c690efe67924fd70e741a06ab"},{"fixed":"355bdf141fbe22ba87d80c8324fc23213bfe7bcd"},{"fixed":"b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5"},{"fixed":"840d85dcb76aaf7c92f8d168a69f01e3987b25d2"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.13.0"},{"fixed":"3.15.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5"}]},{"range":[{"fixed":"840d85dcb76aaf7c92f8d168a69f01e3987b25d2"}],"source":"REFERENCES_COMMIT"},{"original_tag":"3.15.1","range":[{"fixed":"355bdf141fbe22ba87d80c8324fc23213bfe7bcd"}],"source":"REFERENCES_TAG"}]}}],"versions":["3.15.0","3.15.0rc1","3.15.0beta3","3.15.0beta2","3.15.0beta1","3.14.0","3.14.0rc1","3.14.0beta3","3.14.0beta2","3.14.0beta1","3.13.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137070.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}