CVE-2026-58505
Description
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.
Weakness
- CWE-674: Uncontrolled Recursion
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-11Published by the CNA18:19 UTC
- 2026-11-13CISA SSVC decision recorded2 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| maplibre geojson-vt |
References
- https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82
- https://github.com/maplibre/geojson-vt/pull/156
- https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1
- https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-58505'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-58505'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-58505'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-58505'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).