Back to CVE records
High 7.5Published Sep 17, 2026

CVE-2026-54716Valhalla: Degenerate exclude_polygons (collinear points, zero area) causes OOM in /sources_to_targets

Updated under an hour ago ()

Does this affect you?

It affects valhalla. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-770
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Sep 18, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
valhalla valhalla
valhalla:valhalla (from the name)
through 3.7.0
CNA record

References

  • x-refsource-confirm

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.