CVE-2026-137070 GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary

Published Updated

Crafted curved WKT/WKB geometries cause uncontrolled recursion and stack overflow in GEOS, crashing applications that test containment.

CVSS score

Medium

6.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
3.15.1
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137070?

CVE-2026-137070 is a medium-severity denial of service vulnerability in OSGeo GEOS, published on 25 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-674

How severe is CVE-2026-137070?

CVE-2026-137070 scores 6.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
High

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

Which versions are affected by CVE-2026-137070?

1 open source package ship an affected version, including libgeos/geos.

An affected version is only exploitable if your software calls RectangleContains::isContainedInBoundary, PreparedGeometry::contains or GEOSPreparedContains. Many projects that include it are not exposed.

PackageAffectedFixed in
libgeos/geos GitHub
pkg:github/libgeos/geos
From 3.13.03.15.1

How do I fix CVE-2026-137070?

Upgrade libgeos/geos to 3.15.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-137070 being exploited?

There is no known exploitation of CVE-2026-137070 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-35qp-87hh-mfr5, UBUNTU-CVE-2026-137070.

Is CVE-2026-137070 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free