geojson-vt Uncontrolled Recursion in Nested GeometryCollection Denial of Service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
@maplibre/geojson-vt, a JavaScript library that slices GeoJSON into vector tiles in the browser or on a server, is affected before version 6.1.1. Constructing a GeoJSONVT instance from a deeply nested GeometryCollection makes the mutually recursive featureToInternal and convertGeometryCollection functions in src/convert.ts exhaust the Node.js call stack, and the unhandled RangeError terminates the process. Because tile servers accept GeoJSON over the network, a remote unauthenticated attacker can cause a denial of service with a single crafted payload, and no non-default options are needed. CWE-674 applies.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade @maplibre/geojson-vt to version 6.1.1 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA geojson-vt (maplibre) Fixed in 6.1.1
Timeline
- 2026-11-11 Threatist record created from CVE-2026-58505
- 2026-11-13 CISA SSVC decision points changed
References
More maplibre vulnerabilities
- TI-2026-58438 MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip CVSS 3.1CRITICAL 10.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences