{"id":"CVE-2026-54716","aliases":["CVE-2026-54716"],"related":[],"kind":"vulnerability","state":"published","title":"Valhalla: Degenerate exclude_polygons (collinear points, zero area) causes OOM in /sources_to_targets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T19:42:57.776Z","modified":"2026-09-24T21:25:27.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"<= 3.7.0","status":"affected"}],"vendor":"valhalla","product":"valhalla","source":"cvelist"}],"references":[{"url":"https://github.com/valhalla/valhalla/security/advisories/GHSA-qpf6-xp29-pg6r","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-18T14:39:50.424Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54716","url":"https://www.cve.org/CVERecord?id=CVE-2026-54716","licence":"CVE Terms of Use","modified":"2026-09-18T14:44:00.609Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54716","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54716","licence":"Public domain","modified":"2026-09-24T21:25:27.050Z"}],"updatedAt":"2026-11-25T22:59:39.507Z","epss":{"score":0.00324,"percentile":0.27459,"date":"2026-12-01T12:00:22.000Z"}}