CVE-2026-58505
published high CVSS 3.1 · 7.5geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| maplibre | — | geojson-vt< 6.1.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| maplibre | geojson-vt | < 6.1.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
4Provider assertions
2GitHub_M · cna
geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a3e0b3e8b1c111268548aeeb5f30eaaf4bb06c4eed63eb22275af768aa71fc0
- Ingested
- 13 Nov 2026, 17:40:21 UTC
- Source record
- Official CVE record