CVE-2026-58505 json
geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection
published 4mo ago modified 14h ago also GHSA-75qh-632x-j5pr , EUVD-2026-123686
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository maplibre/geojson-vt. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2026-58505 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @maplibre/geojson-vt | <=6.1.0 |
no fix listed |
Affected products
- maplibre geojson-vt
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
Sources
- CVE List CVE-2026-58505
- NVD CVE-2026-58505
- Maintainer advisory GHSA-75qh-632x-j5pr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of maplibre/geojson-vt published their own advisory on GitHub. Reviewed sources take precedence over it.