{"id":"CVE-2026-137070","state":"PUBLISHED","title":"GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary","description":"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.","publishedAt":"2026-11-25T19:33:05.897Z","updatedAt":"2026-11-25T19:33:05.897Z","severity":{"score":6.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["OSGeo GEOS"],"affected":[{"vendor":"OSGeo","product":"GEOS","packageURL":"pkg:github/libgeos/geos","defaultStatus":"unaffected","versions":[{"version":"3.13.0","status":"affected","lessThan":"3.15.1","versionType":"semver"}],"repo":"https://github.com/libgeos/geos"}],"references":["https://github.com/libgeos/geos/pull/1617","https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5","https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2","https://github.com/libgeos/geos/releases/tag/3.15.1","https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71","https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary"],"weaknesses":["CWE-674"],"ingestedAt":"2026-11-25T19:40:05.749Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/137xxx/CVE-2026-137070.json","commit":"7fb2fe68b486b39133abf360e3484bf7fdddf2e4","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137070","state":"PUBLISHED","datePublished":"2026-11-25T19:33:05.897Z","dateUpdated":"2026-11-25T19:33:05.897Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-25T17:56:24.651Z"},"containers":{"cna":{"title":"GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OSGeo","product":"GEOS","packageURL":"pkg:github/libgeos/geos","defaultStatus":"unaffected","versions":[{"version":"3.13.0","status":"affected","lessThan":"3.15.1","versionType":"semver"}],"repo":"https://github.com/libgeos/geos"}],"references":[{"url":"https://github.com/libgeos/geos/pull/1617","tags":["issue-tracking","patch"]},{"url":"https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5","tags":["patch"]},{"url":"https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2","tags":["patch"]},{"url":"https://github.com/libgeos/geos/releases/tag/3.15.1","tags":["release-notes"],"name":"GEOS 3.15.1 Release Notes"},{"url":"https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary","name":"VulnCheck Advisory: GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-25T19:33:05.897Z"},"datePublic":"2026-11-19T00:00:00.000Z","credits":[{"lang":"en","value":"Pu Cheng","type":"finder"},{"lang":"en","value":"Dan Baston","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}