Skip to main content

Valhalla Routing Engine CVE-2026-54716

| EUVDEUVD-2026-82404 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-09-17 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach public Valhalla worker
  2. Delivery
    Craft exclude_polygons with 3 collinear points
  3. Exploit
    POST to /sources_to_targets
  4. Execution
    Zero-area ring triggers polygon_search.cc
  5. Persist
    Unbounded memory growth
  6. Impact
    OOM 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

valhalla ≤ 3.7.0

Affected Packages

euvd valhalla no fix

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

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
popular open-source OSM routing engine, common in geospatial stacks but not everywhere
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy