CVE-2026-58505

Source
https://cve.org/CVERecord?id=CVE-2026-58505
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58505.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58505
Aliases
  • GHSA-75qh-632x-j5pr
Published
2026-11-11T18:19:59Z
Modified
2026-11-12T02:48:33Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection
Details

geojson-vt is a JavaScript library for slicing GeoJSON data into vector tiles on the fly, primarily designed to enable rendering and interacting with large geospatial datasets on the browser side (without a server). Prior to version 6.1.1, @maplibre/geojson-vt contains an uncontrolled recursion vulnerability in its GeoJSON conversion logic. When a GeoJSONVT instance is constructed with a deeply nested GeometryCollection object, the mutually recursive functions featureToInternal and convertGeometryCollection in src/convert.ts exhaust the Node.js call stack, causing an unhandled RangeError: Maximum call stack size exceeded that terminates the process. Because the library is widely used in server-side tile services that accept GeoJSON over the network, a remote unauthenticated attacker can trigger a denial-of-service by sending a single crafted payload. No authentication is required, and no non-default library options are needed. This issue has been patched in version 6.1.1.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58505.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "6.1.1"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "6.1.1"
                        },
                        {
                            "fixed": "6.1.1"
                        }
                    ],
                    "source": "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/maplibre/geojson-vt

Affected ranges

Type
GIT
Repo
https://github.com/maplibre/geojson-vt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "fixed": "cb85688270d80894ce377969c75e631fe4b04c82"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v5.*
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v6.*
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58505.json"