{"id":"CVE-2026-58505","summary":"geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection","details":"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.","aliases":["GHSA-75qh-632x-j5pr"],"modified":"2026-11-12T02:48:33.607252586Z","published":"2026-11-11T18:19:59.296Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"6.1.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"}]},{"extracted_events":[{"range":[{"fixed":"6.1.1"},{"fixed":"6.1.1"}],"source":"DESCRIPTION"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58505.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58505.json"},{"type":"FIX","url":"https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82"},{"type":"FIX","url":"https://github.com/maplibre/geojson-vt/pull/156"},{"type":"WEB","url":"https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1"},{"type":"ADVISORY","url":"https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58505"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/maplibre/geojson-vt","events":[{"introduced":"0"},{"fixed":"cb85688270d80894ce377969c75e631fe4b04c82"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"cb85688270d80894ce377969c75e631fe4b04c82"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v6.1.0","v6.0.5","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0.0","v5.0.4","v5.0.3","v5.0.2","v5.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58505.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}