CVE-2026-137070
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137070 NameCVE-2026-137070 DescriptionGEOS 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…
CVE-2026-137070
| Name | CVE-2026-137070 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| geos (PTS) | bookworm | 3.11.1-1 | vulnerable |
| trixie | 3.13.1-1 | vulnerable | |
| forky | 3.15.0-2 | vulnerable | |
| sid | 3.15.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| geos | source | (unstable) | 3.15.1-1 |
Notes
[bookworm] - geos <postponed> (Minor issue)
https://github.com/libgeos/geos/pull/1617
https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5 (main)
https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2 (3.15.1)
Apply commands
[bookworm] - geos <postponed> (Minor issue)https://github.com/libgeos/geos/pull/1617https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5 (main)https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2 (3.15.1)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | geos |
Affected | — |
| sid | geos |
Fixed | 3.15.1-1 |
| forky | geos |
Fixed | 3.15.1-1 |
| bookworm | geos |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| osgeo | geos | {"startIncluding":"3.13.0","endExcluding":"3.15.1"} | 3.15.1 |
References
- https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71
- https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2
- https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5
- https://github.com/libgeos/geos/pull/1617
- https://github.com/libgeos/geos/releases/tag/3.15.1
- https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary
- https://security-tracker.debian.org/tracker/CVE-2026-137070
- https://www.suse.com/security/cve/CVE-2026-137070.html
CWEs
CWE-674
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.