CVE-2026-137070
GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary
Medium · 6.8Fix available
- CVSS
- 6.8
- EPSS
- 0.45% (p31)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- OSGeo GEOS
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
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.
Fixed in
3.15.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | GEOS | >=3.13.0, <3.15.1 | 3.15.1 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/libgeos/geos/pull/1617 issue-tracking
- https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5 patch
- https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2 patch
- https://github.com/libgeos/geos/releases/tag/3.15.1 release-notes
- https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71 technical-description
- https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137070.json advisory
- https://github.com/libgeos/geos package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137070 advisory