Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public Valhalla worker
-
DeliveryCraft exclude_polygons with 3 collinear points
-
ExploitPOST to /sources_to_targets
-
ExecutionZero-area ring triggers polygon_search.cc
-
PersistUnbounded memory growth
-
ImpactOOM killer terminates worker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | A publicly reachable Valhalla routing worker (version 3.7.0 or earlier) must accept POST requests to the /sources_to_targets endpoint. The exploit requires an exclude_polygons parameter containing a ring formed by three collinear points, producing a zero-area geometry that is processed in src/loki/polygon_search.cc. No authentication, no user interaction, and no non-default configuration are required - the request options other than the degenerate geometry are irrelevant. Limiting factors: only /sources_to_targets is confirmed affected (the advisory did not verify /route or other exclude_polygons-accepting endpoints), and impact is limited to worker availability with no confidentiality or integrity effect; the practical mitigation constraint is that no fixed version exists yet, so defenders must rely on network exposure controls or input filtering. |
| Impact | This is a credible denial-of-service issue whose real risk is elevated by the ABSENCE of a patch rather than by any exotic exploitation requirement. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) is internally consistent with the description: a single unauthenticated network POST with low complexity and no user interaction crashes the worker via out-of-memory. No EPSS score, no CISA KEV entry, and no public exploit code were provided, so exploitation is 'no public exploit identified at time of analysis' - this is NOT confirmed active exploitation and should not be treated as such. However, the impact is confidentiality/integrity-neutral (C:N/I:N) and purely availability (A:H), so despite the 7.5 'High' rating this is not a code-execution or data-breach priority; it is an availability/uptime priority. The most important risk driver is the explicit statement that 'No fixed version is available as of this review' - defenders cannot simply patch, which raises operational urgency for anyone exposing a public-facing Valhalla worker. One nuance to verify: the advisory only confirmed /sources_to_targets is affected and explicitly states /route and other exclude_polygons endpoints 'were not verified as affected' - do not assume other endpoints are safe or unsafe without independent testing. |
| Exploit ScenarioDerived | An attacker who can reach a public-facing Valhalla routing worker sends a single unauthenticated POST to /sources_to_targets whose exclude_polygons contains a ring of three collinear points (a zero-area geometry). Processing in src/loki/polygon_search.cc grows memory without bound until the OS out-of-memory killer terminates the worker, taking the routing service offline. No public exploit code was provided, but the description is essentially a recipe (three collinear points in exclude_polygons) and requires no authentication or user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Unauthenticated denial of service in Valhalla 3.7.0 and earlier lets any remote client that can reach a public-facing routing worker stop it with a single POST to /sources_to_targets: supplying an exclude_polygons ring made of three collinear points creates a zero-area geometry that drives unbounded memory allocation in src/loki/polygon_search.cc until the out-of-memory killer terminates the process. No authentication, user interaction, or non-default configuration is required, and the other request options are irrelevant to triggering the fault, so the practical barrier to exploitation is essentially zero; there is no public exploit identified at time of analysis, but patch status is the dominant risk factor. Impact is limited to availability (CVSS 3.1 base 7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) with no confidentiality or integrity effect, and only /sources_to_targets is confirmed affected - the advisory did not verify whether /route or other endpoints accepting exclude_polygons are equally vulnerable.
RemediationAI
No vendor-released patch was identified at time of analysis and the advisory states no fixed version is available, so remediation must be compensating controls until an upstream fix ships; track GHSA-qpf6-xp29-pg6r and the Valhalla project for a patched release. The most effective control is to remove public reachability of /sources_to_targets - front the worker with a reverse proxy or API gateway that requires authentication or an allowlisted source IP for that path (or blocks it entirely if unused), accepting the trade-off that legitimate matrix-routing clients must be re-keyed or routed through an internal endpoint. Where the endpoint must stay open, add an input-validation rule at the proxy or WAF that rejects exclude_polygons rings whose signed area is zero or that contain fewer than four points or collinear vertices, rejecting the request with 400 before it reaches Loki; the trade-off is potential false positives on legitimate degenerate or very small polygons, so the rule should be staged in log-only mode first. Rate-limit POSTs to routing endpoints per client as a backstop, and constrain the worker with container or cgroup memory limits and a restart policy so an exploit kills only the worker instead of the host - accepting that this converts the bug into a repeatable worker crash with dropped in-flight requests and possible restart loops. Finally, monitor worker RSS for sudden growth correlated with /sources_to_targets traffic as a detection signal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Valhalla is an open source C++ routing engine and library suite that builds navigation graphs from OpenStreetMap data, typically deployed as a long-running worker behind HTTP endpoints such as /route, /sources_to_targets, and /isochrone. Requests that carry an exclude_polygons parameter are handled by the Loki layer, which parses the supplied polygon rings and uses them in src/loki/polygon_search.cc to correlate graph edges against the excluded region. The root cause class is CWE-770 (Allocation of Resources Without Limits or Throttling): a ring defined by three collinear points has zero enclosed area, and this degenerate geometry appears to defeat the assumptions in the polygon search code so that allocation or iteration grows without bound instead of terminating. The trigger is the malformed geometry itself rather than any other request option, which means ordinary request validation or parameter-type filtering does not mitigate it, and the failure mode is host-visible memory pressure rather than a contained error return. The affected component is a standard, default-enabled HTTP surface, which is why the assessed vector is PR:N/UI:N with only availability impact.
Know when Valhalla gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Single unauthenticated, low-complexity network POST with no user interaction crashes the worker via OOM; availability-only impact, no confidentiality or integrity effect, scope unchanged.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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.
Technical POC Analysis
CWE-770 (Allocation of Resources Without Limits or Throttling).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Organizations running the open-source Valhalla routing engine at version 3.7.0 or earlier expose their public-facing routing workers to a trivially executed, unauthenticated denial-of-service attack: a single malformed request can exhaust server memory and terminate the routing process. Because no vendor patch is available and the attack requires no credentials, no user interaction, and no special configuration, any team operating internet-reachable Valhalla services for navigation, logistics, dispatch, or customer-facing maps should treat service availability as the primary exposure. There is no public exploit identified at time of analysis, and there is no impact to data confidentiality or integrity - the risk is downtime, repeated restart cycles, and degraded customer or operational experience.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network reachability of routing workers via ACLs or an authenticated reverse proxy; apply WAF or edge rules to reject or rate-limit POST requests to /sources_to_targets and exclude_polygons payloads with degenerate/collinear rings; cap memory and enable supervised auto-restart with OOM alerting; segment routing infrastructure to limit blast radius.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-82404
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB