CVE-2026-137070: GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using GEOS versions from 3.13.0 up to, but not including, 3.15.1 are affected when they evaluate prepared-geometry containment against a prepared rectangle.
What input and API conditions are required to trigger the crash?
An attacker must be able to supply crafted WKT or WKB curved geometry: CircularString, CompoundCurve, or CurvePolygon. The geometry must be tested through PreparedGeometry::contains or GEOSPreparedContains against a prepared rectangle.
What is the impact of successful exploitation?
The recursive processing can continue indefinitely until the process crashes with a stack overflow. The provided information describes an availability impact only; it does not indicate confidentiality or integrity impact.