p PatchFirst

CVE-2026-137070

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

CVSS 6.8 · Medium · EPSS 0.4% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • geosUpdate to 3.15.1
  • geos Debian 12No fix published
  • geos Debian 13No fix published
  • geos Debian 14No fix published
  • and 8 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="geos"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • geos

    Versions
    • ≥ 3.13.0, < 3.15.1: Affected (semver)

    Update to 3.15.1

  • geos Debian 12

    Versions
    • 3.11.1-1
    • 3.11.2-1~exp1
    • 3.12.0-1
    • 3.12.0~beta1-1~exp1
    • 3.12.0~beta2-1~exp1
    • 3.12.1-1
    All versions (34)
    • 3.12.1-1.1~exp1
    • 3.12.1-1~exp1
    • 3.12.1-2
    • 3.12.1-2~exp1
    • 3.12.1-3
    • 3.12.2-1
    • 3.12.2-1~exp1
    • 3.13.0-1
    • 3.13.0~beta1-1~exp1
    • 3.13.0~beta2-1~exp1
    • 3.13.1-1
    • 3.13.1-1~exp1
    • 3.14.0-1
    • 3.14.0~beta1-1~exp1
    • 3.14.0~beta2-1~exp1
    • 3.14.0~beta3-1~exp1
    • 3.14.0~rc1-1~exp1
    • 3.14.1-1
    • 3.14.1-1~exp1
    • 3.14.1-2
    • 3.15.0-1
    • 3.15.0-2
    • 3.15.0~beta1-1~exp1
    • 3.15.0~beta2-1~exp1
    • 3.15.0~beta3-1~exp1
    • 3.15.0~rc1-1~exp1
    • 3.15.1-1
    • 3.15.1-1~exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Debian 13

    Versions
    • 3.13.1-1
    • 3.14.0-1
    • 3.14.0~beta1-1~exp1
    • 3.14.0~beta2-1~exp1
    • 3.14.0~beta3-1~exp1
    • 3.14.0~rc1-1~exp1
    All versions (17)
    • 3.14.1-1
    • 3.14.1-1~exp1
    • 3.14.1-2
    • 3.15.0-1
    • 3.15.0-2
    • 3.15.0~beta1-1~exp1
    • 3.15.0~beta2-1~exp1
    • 3.15.0~beta3-1~exp1
    • 3.15.0~rc1-1~exp1
    • 3.15.1-1
    • 3.15.1-1~exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Debian 14

    Versions
    • 3.13.1-1
    • 3.14.0-1
    • 3.14.0~beta1-1~exp1
    • 3.14.0~beta2-1~exp1
    • 3.14.0~beta3-1~exp1
    • 3.14.0~rc1-1~exp1
    All versions (17)
    • 3.14.1-1
    • 3.14.1-1~exp1
    • 3.14.1-2
    • 3.15.0-1
    • 3.15.0-2
    • 3.15.0~beta1-1~exp1
    • 3.15.0~beta2-1~exp1
    • 3.15.0~beta3-1~exp1
    • 3.15.0~rc1-1~exp1
    • 3.15.1-1
    • 3.15.1-1~exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 14.04 LTS

    Versions
    • 3.3.3-1.1ubuntu1
    • 3.4.2-1
    • 3.4.2-1ubuntu1
    • 3.4.2-4ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 16.04 LTS

    Versions
    • 3.5.0-1build1
    • 3.5.0-1build2
    • 3.5.0-1ubuntu1
    • 3.5.0-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 18.04 LTS

    Versions
    • 3.5.1-3
    • 3.5.1-4
    • 3.6.2-1
    • 3.6.2-1build1
    • 3.6.2-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 20.04 LTS

    Versions
    • 3.7.2-1
    • 3.8.0-1
    • 3.8.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 22.04 LTS

    Versions
    • 3.9.0-1
    • 3.10.1-1
    • 3.10.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 24.04 LTS

    Versions
    • 3.12.0-1
    • 3.12.1-1
    • 3.12.1-3
    • 3.12.1-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 26.10

    Versions
    • 3.14.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • geos Ubuntu 26.04 LTS

    Versions
    • 3.13.1-1
    • 3.14.1-1
    • 3.14.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →