{"id":"CVE-2026-58505","kind":"vulnerability","aliases":["CVE-2026-58505"],"related":[],"title":"geojson-vt: deeply nested GeometryCollection crashes Node.js process","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.","summary":"A deeply nested GeometryCollection passed to the geojson-vt library exhausts the call stack during conversion, throwing an unhandled RangeError that terminates the process. An unauthenticated remote attacker can crash a server that accepts GeoJSON over the network with one crafted request.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["geospatial","maplibre","node.js","package","tile-server"],"not_affected_if":["browser-only","no-untrusted-geojson-input"],"how_to_check":"- Check the installed version with `npm ls geojson-vt @maplibre/geojson-vt` or `npm ls @maplibre/geojson-vt`.\n- Look for services that construct `GeoJSONVT` from request bodies or uploaded GeoJSON.","fix":"- `@maplibre/geojson-vt` `6.1.1` (fixed in this version; sources do not say which other package names are affected).","status":"open","published_at":"2026-11-11T19:17:42+00:00","first_seen_at":"2026-11-11T19:28:47+00:00","triaged_at":"2026-11-11T19:30:05+00:00","updated_at":"2026-11-11T19:30:05+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-11T19:30:05Z","model":"claude-haiku-5-5","output":{"fix":"- `@maplibre/geojson-vt` `6.1.1` (fixed in this version; sources do not say which other package names are affected).","reach":"internet","title":"geojson-vt: deeply nested GeometryCollection crashes Node.js process","impact":"medium","summary":"A deeply nested GeometryCollection passed to the geojson-vt library exhausts the call stack during conversion, throwing an unhandled RangeError that terminates the process. An unauthenticated remote attacker can crash a server that accepts GeoJSON over the network with one crafted request.","audience":"developers","category":"package","nicknames":[],"who_cares":["maplibre","node.js","tile-server","geospatial"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Remote request crashes the Node.js process serving tiles","analyst_note":"","how_to_check":"- Check the installed version with `npm ls geojson-vt @maplibre/geojson-vt` or `npm ls @maplibre/geojson-vt`.\n- Look for services that construct `GeoJSONVT` from request bodies or uploaded GeoJSON.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["browser-only","no-untrusted-geojson-input"],"who_is_affected":"Server-side tile services that accept GeoJSON from network clients and pass it to GeoJSONVT are exposed to a single-request crash. Browser-only use, where the data never comes from an untrusted network client, is not affected by remote input.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000771,"input_tokens":4830,"output_tokens":576,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,14A '-58505':12A,15A '6.1.1':104C,210C 'accept':57B,168C 'attack':51B,176C 'authent':191C 'browser':96C 'call':36B,140C,147C 'caus':142C 'construct':121C 'contain':106C 'convers':39B,114C 'convertgeometrycollect':134C 'craft':64B,188C 'crash':7A,53B 'cve':10A,13A 'data':76C 'dataset':93C 'deepli':4A,24B,124C 'default':198C 'denial':181C 'denial-of-servic':180C 'design':84C 'enabl':86C 'exceed':150C 'exhaust':34B,137C 'featuretointern':132C 'fli':82C 'function':131C 'geojson':2A,31B,58B,67C,75C,113C,169C 'geojson-vt':1A,30B,66C 'geojsonvt':118C 'geometrycollect':6A,26B,126C 'geospati':16B,92C 'instanc':119C 'interact':89C 'issu':204C 'javascript':71C 'larg':91C 'librari':33B,72C,157C,199C 'logic':115C 'maplibr':17B 'maplibre/geojson-vt':105C 'maximum':146C 'mutual':129C 'need':202C 'nest':5A,25B,125C 'network':61B,172C 'node.js':8A,18B,139C 'non':197C 'non-default':196C 'object':127C 'one':63B 'option':200C 'packag':19B 'pass':27B 'patch':207C 'payload':189C 'primarili':83C 'prior':101C 'process':9A,47B,154C 'rangeerror':43B,145C 'recurs':109C,130C 'remot':50B,174C 'render':87C 'request':65B 'requir':193C 'send':185C 'server':22B,55B,100C,163C 'server-sid':162C 'servic':166C,183C 'side':97C,164C 'singl':187C 'size':149C 'slice':74C 'src/convert.ts':136C 'stack':37B,141C,148C 'termin':45B,152C 'throw':40B 'tile':21B,79C,165C 'tile-serv':20B 'trigger':178C 'unauthent':49B,175C 'uncontrol':108C 'unhandl':42B,144C 'use':160C 'vector':78C 'version':103C,209C 'vt':3A,32B,68C 'vulner':110C 'wide':159C 'without':98C","nicknames":[],"mitigations":[],"who_affected":"Server-side tile services that accept GeoJSON from network clients and pass it to GeoJSONVT are exposed to a single-request crash. Browser-only use, where the data never comes from an untrusted network client, is not affected by remote input.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["geospatial","high","maplibre","nodejs","package","tileserver"],"campaign_type":null,"search_a":"'-2026':11A,14A '-58505':12A,15A 'crash':7A 'cve':10A,13A 'deepli':4A 'geojson':2A 'geojson-vt':1A 'geometrycollect':6A 'nest':5A 'node.js':8A 'process':9A 'vt':3A","search_b":"'accept':57B 'attack':51B 'call':36B 'convers':39B 'craft':64B 'crash':53B 'deepli':24B 'exhaust':34B 'geojson':31B,58B 'geojson-vt':30B 'geometrycollect':26B 'geospati':16B 'librari':33B 'maplibr':17B 'nest':25B 'network':61B 'node.js':18B 'one':63B 'packag':19B 'pass':27B 'process':47B 'rangeerror':43B 'remot':50B 'request':65B 'server':22B,55B 'stack':37B 'termin':45B 'throw':40B 'tile':21B 'tile-serv':20B 'unauthent':49B 'unhandl':42B 'vt':32B","search_c":"'6.1.1':104C,210C 'accept':168C 'attack':176C 'authent':191C 'browser':96C 'call':140C,147C 'caus':142C 'construct':121C 'contain':106C 'convers':114C 'convertgeometrycollect':134C 'craft':188C 'data':76C 'dataset':93C 'deepli':124C 'default':198C 'denial':181C 'denial-of-servic':180C 'design':84C 'enabl':86C 'exceed':150C 'exhaust':137C 'featuretointern':132C 'fli':82C 'function':131C 'geojson':67C,75C,113C,169C 'geojson-vt':66C 'geojsonvt':118C 'geometrycollect':126C 'geospati':92C 'instanc':119C 'interact':89C 'issu':204C 'javascript':71C 'larg':91C 'librari':72C,157C,199C 'logic':115C 'maplibre/geojson-vt':105C 'maximum':146C 'mutual':129C 'need':202C 'nest':125C 'network':172C 'node.js':139C 'non':197C 'non-default':196C 'object':127C 'option':200C 'patch':207C 'payload':189C 'primarili':83C 'prior':101C 'process':154C 'rangeerror':145C 'recurs':109C,130C 'remot':174C 'render':87C 'requir':193C 'send':185C 'server':100C,163C 'server-sid':162C 'servic':166C,183C 'side':97C,164C 'singl':187C 'size':149C 'slice':74C 'src/convert.ts':136C 'stack':141C,148C 'termin':152C 'tile':79C,165C 'trigger':178C 'unauthent':175C 'uncontrol':108C 'unhandl':144C 'use':160C 'vector':78C 'version':103C,209C 'vt':68C 'vulner':110C 'wide':159C 'without':98C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-07-03T06:44:08+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-58505","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58505","severity":null,"published_at":"2026-11-11T19:17:42+00:00","modified_at":"2026-11-11T19:17:42+00:00","first_seen_at":"2026-11-11T19:28:47+00:00","fetched_at":"2026-11-11T19:28:47+00:00","note":null}],"documents":[{"id":128134,"url":"https://github.com/maplibre/geojson-vt/commit/cb85688270d80894ce377969c75e631fe4b04c82","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":128135,"url":"https://github.com/maplibre/geojson-vt/releases/tag/v6.1.1","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":128136,"url":"https://github.com/maplibre/geojson-vt/security/advisories/GHSA-75qh-632x-j5pr","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-07-03T06:44:08+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}