home / blog
2026-11-26 · medium
CVE-2026-137070: Recursive vulnerability in GEOS causes crashes
CVE-2026-137070: Uncontrolled recursion in GEOS causes stack crashes with curved geometries.

CVE-2026-137070 is an uncontrolled recursion vulnerability in the RectangleContains::isContainedInBoundary function of the GEOS library. When specific geometric inputs (CircularString, CompoundCurve, or CurvePolygon) are processed through methods like PreparedGeometry::contains or GEOSPreparedContains, the code enters an infinite recursion loop that causes a process crash due to stack overflow.
The vulnerability is classified as medium with a CVSS of 5.5. It is confirmed by reports on GitHub where exploits exploiting this vulnerability have been demonstrated. The patch is already available in GEOS version 3.15.1, published on 2026-11-25.
In defense, it is crucial to immediately apply the update to GEOS 3.15.1 or later. For systems that cannot be updated, implement rigorous validation of geometric inputs to prevent processing of specific curved data. Monitor applications using GEOS to detect anomalous behavior or sudden crashes.
At a glance
- What
- Uncontrolled recursion vulnerability in RectangleContains::isContainedInBoundary
- Severity
- Medium (CVSS 5.5)
- Affected versions
- GEOS 3.13.0 before 3.15.1
- Fix
- Update to GEOS 3.15.1 or later
- Status
- Published on 2026-11-25
- Action
- Apply patches, validate geometric inputs
Sources: NVD, CVE-2026-137070