# CVE-2026-58505: geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.1.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-13
- Record: https://cvemate.com/vulnerability/CVE-2026-58505 · JSON: https://cvemate.com/vulnerability/CVE-2026-58505/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.879%, percentile 60.316%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- maplibre geojson-vt: \< 6.1.1

## References

- <https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr>
- <https://github.com/maplibre/geojson-vt/pull/156>
- <https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82>
- <https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1>

---

Data as of 2026-12-05T13:56:25.694Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
