CVE-2026-137070

medium

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.

References

https://www.vulncheck.com/advisories/geos-3.13.0-before-3.15.1-uncontrolled-recursion-in-rectanglecontains-iscontainedinboundary

https://github.com/libgeos/geos/releases/tag/3.15.1

https://github.com/libgeos/geos/pull/1617

https://github.com/libgeos/geos/commit/b6754aa2eb591a2bdabfe7f730c1e3c9c71408e5

https://github.com/libgeos/geos/commit/840d85dcb76aaf7c92f8d168a69f01e3987b25d2

https://github.com/libgeos/geos/blob/3.15.0/src/operation/predicate/RectangleContains.cpp#L50-L71

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135776

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-25

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 6.8

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00447