{"id":"CVE-2026-58505","state":"PUBLISHED","title":"geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection","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.","publishedAt":"2026-11-11T18:19:59.296Z","updatedAt":"2026-11-13T17:34:11.310Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["maplibre geojson-vt"],"affected":[{"vendor":"maplibre","product":"geojson-vt","versions":[{"version":"< 6.1.1","status":"affected"}]}],"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"],"weaknesses":["CWE-674"],"ingestedAt":"2026-11-13T17:40:06.644Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58505.json","commit":"7f6bb55b53b75403edc619721ae02855fe22bb87","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58505","state":"PUBLISHED","datePublished":"2026-11-11T18:19:59.296Z","dateUpdated":"2026-11-13T17:34:11.310Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-30T20:21:25.813Z"},"containers":{"cna":{"title":"geojson-vt: Uncontrolled Recursion in Nested GeoJSON GeometryCollection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"maplibre","product":"geojson-vt","versions":[{"version":"< 6.1.1","status":"affected"}]}],"references":[{"url":"https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr","name":"https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/maplibre/geojson-vt/pull/156","name":"https://github.com/maplibre/geojson-vt/pull/156","tags":["x_refsource_MISC"]},{"url":"https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82","name":"https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82","tags":["x_refsource_MISC"]},{"url":"https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1","name":"https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-11T18:19:59.296Z"},"source":{"advisory":"GHSA-75qh-632x-j5pr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-13T17:31:05.226138Z","id":"CVE-2026-58505","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-13T17:34:11.310Z"}}]}}}