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

Published Nov 11, 2026
·
Updated

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade @maplibre/geojson-vt to a version that resolves this vulnerability.

    Fixed in 6.1.1

Event History

Nov 11, 2026
CVE Published
via MITRE·06:19 PM
Data Sourced
via MITRE·06:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

Server-side tile services that accept GeoJSON over the network and construct GeoJSONVT instances are exposed. The issue can be triggered remotely with a single crafted payload; browser-side use is not identified as a remote attack path in the provided information.

2

Does exploitation require authentication or special library settings?

No. An unauthenticated attacker can exploit the issue, and no non-default library options are required.

3

What happens when exploitation succeeds?

A deeply nested GeometryCollection exhausts the Node.js call stack and raises an unhandled "RangeError: Maximum call stack size exceeded." This terminates the process, causing denial of service.

4

What version fixes the issue?

The issue is patched in @maplibre/geojson-vt version 6.1.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203