{"answers":{"affected":"1 open source package ship an affected version, including libgeos/geos.","exploited":"There is no known exploitation of CVE-2026-137070 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls RectangleContains::isContainedInBoundary, PreparedGeometry::contains or GEOSPreparedContains. Many projects that include it are not exposed.","fix":"Upgrade libgeos/geos to 3.15.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-137070 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-137070 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls RectangleContains::isContainedInBoundary, PreparedGeometry::contains or GEOSPreparedContains. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- libgeos/geos (GitHub): affected from 3.13.0; fixed in 3.15.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to RectangleContains::isContainedInBoundary, PreparedGeometry::contains or GEOSPreparedContains and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137070/ (Markdown: https://insights.sbomify.com/CVE-2026-137070/index.md)","id":"CVE-2026-137070","markdown":"https://insights.sbomify.com/CVE-2026-137070/index.md","name":"CVE-2026-137070","record":{"aliases":["GHSA-35qp-87hh-mfr5","UBUNTU-CVE-2026-137070"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"geospatial library","requires_auth":"none","requires_specific_call":true,"summary":"Crafted curved WKT/WKB geometries cause uncontrolled recursion and stack overflow in GEOS, crashing applications that test containment.","user_interaction":"required","vuln_class":"denial_of_service","vulnerable_functions":["RectangleContains::isContainedInBoundary","PreparedGeometry::contains","GEOSPreparedContains"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"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.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":"2026-11-26","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-26T05:11:23Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-137070","stars":0,"title":"GEOS 3.13.0-3.15.0: CIRCULARSTRING passed to RectangleContains reaches linear-ring code and crashes. Verbatim ensureNoCurvedTypes guard from PR 1617: unsafe evaluation on vuln, GEOSException on fixed"}],"tier":"poc_unverified"},"has_fix":false,"headline":"GEOS 3.13.0 before 3.15.1 Uncontrolled Recursion in RectangleContains::isContainedInBoundary","id":"CVE-2026-137070","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":null,"products":[],"type":"denial_of_service","year":"2026"},"main_cpe":null,"main_fixed":["3.15.1"],"main_package":"libgeos/geos","n_packages":1,"n_references":6,"n_vendor_status":0,"next":{"headline":"Boost.JSON 1.84.0 through 1.92.0 Information Exposure via parser_for reset()","id":"CVE-2026-137071"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":["3.15.1"],"introduced":["3.13.0"],"last_affected":[],"name_kind":null,"package":"libgeos/geos","purl":"pkg:github/libgeos/geos","purl_source":"cna","scope":"upstream","source":"CVE-2026-137070"}],"prev":{"headline":"libxml2 2.13.0 through 2.15.4 Denial of Service via xmlTextReaderSetup Unreset Error State","id":"CVE-2026-137069"},"products":["GEOS"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["OSGeo"]},"summary":"Crafted curved WKT/WKB geometries cause uncontrolled recursion and stack overflow in GEOS, crashing applications that test containment.","url":"https://insights.sbomify.com/CVE-2026-137070/"}