Vulnerability Description
Valhalla is an open source routing engine and accompanying libraries for use with OpenStreetMap data. In 3.7.0 and earlier, a POST request to /sources_to_targets containing an exclude_polygons ring formed by three collinear points can cause unbounded memory growth in the worker. The zero-area geometry, rather than the other request options, triggers processing in src/loki/polygon_search.cc until the process is terminated by the out-of-memory killer. A single unauthenticated request can therefore stop a public-facing worker. Other endpoints that accept exclude_polygons, including /route, were not verified as affected. No fixed version is available as of this review.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-54716?
CVE-2026-54716 is a vulnerability with a CVSS score of 7.5 (HIGH). Valhalla is an open source routing engine and accompanying libraries for use with OpenStreetMap data. In 3.7.0 and earlier, a POST request to /sources_to_targets containing an exclude_polygons ring fo...
How severe is CVE-2026-54716?
CVE-2026-54716 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54716?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.