Home › CVE › Vulnerabilities
CVE-2026-137070 — OSGeo GEOS
Summary
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.
Severity breakdown
Medium · 6.8
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-674: Uncontrolled Recursion
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| OSGeo GEOS | ≥ 3.13.0, < 3.15.1 | 3.15.1 |
References by type
Patches and fixed releases
- github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2
- github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5
- github.com/libgeos/geos/pull/1617
- github.com/libgeos/geos/releases/tag/3.15.1
Other references
Affected
- OSGeo GEOS
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137070?
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. Weakness type: Uncontrolled Recursion (CWE-674).
How severe is CVE-2026-137070?
CVE-2026-137070 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-137070 being exploited?
Not as far as is known: CVE-2026-137070 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-137070?
OSGeo GEOS ≥ 3.13.0, < 3.15.1 (fixed in 3.15.1).
How do I fix CVE-2026-137070?
Update to a fixed release: OSGeo GEOS 3.15.1.