Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137070: medium-severity vulnerability (CVSS 6.8) in OSGeo GEOS.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.8.
Affected products and versions
OSGeo GEOS >= 3.13.0, < 3.15.1
| Product | Versions | Fixed in |
|---|---|---|
| OSGeo GEOS | >= 3.13.0, < 3.15.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/libgeos/geos/pull/1617 — CVE Program
- https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5 — CVE Program
- https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2 — CVE Program
- https://github.com/libgeos/geos/releases/tag/3.15.1 — CVE Program
- https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71 — CVE Program
- https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary — CVE Program
Weaknesses (CWE): CWE-674
Relevant change history
Published
Preliminary advisory published.