Skip to main content

odhcpd EUVDEUVD-2026-108970

| CVE-2026-55606 MEDIUM
Buffer Over-read (CWE-126)
2026-10-23 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Send DHCPv6 SOLICIT with 10-byte client DUID
  2. Delivery
    Reach self-loop detection at dhcpv6.c:720
  3. Exploit
    Network-order length passed as memcmp() size
  4. Execution
    2560-byte overread of 128-byte stack buffer
  5. Impact
    Adjacent stack data exposed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
Exploitation Conditions

Exploitation requires three conditions: (1) odhcpd must be running as a DHCPv6 server, configured via UCI option dhcpv6 'server' - this is not enabled in all OpenWrt configurations but is common when IPv6 addressing is in use; (2) the host must be little-endian (x86, ARM-LE, or MIPS-LE - all standard OpenWrt build targets are affected, while big-endian MIPS-BE is not); (3) the attacker must reach UDP port 547. The trigger condition is that the client DUID byte-length equals the server DUID byte-length in network byte order; with the server's default DUID-LL at 10 bytes, any standard DHCPv6 client sending a 10-byte DUID - the most common case - triggers the overread on every DHCPv6 message exchange. Limiting factors: the attacker cannot control which stack bytes are read and cannot directly observe the overread result; crash (DoS) is unreliable on production binaries without sanitizer instrumentation because the 2560-byte read is likely to remain within the stack frame allocation.

Impact

CVSS 6.5 Medium with AV:N/AC:L/PR:N/UI:N presents a trivially reachable, unauthenticated network path, yet the EPSS of 0.47% (40th percentile) indicates low exploitation probability at time of analysis. This apparent tension is explained by the impact ceiling: the overread is read-only (I:N), the attacker cannot directly observe what is read (limiting practical C:L exploitation), and denial-of-service is unreliable on production binaries because memcmp() reading 2560 bytes within an approximately 8 KB stack frame is unlikely to cross a page boundary. The decision label of 'this_month' (not act_now) is consistent with this assessment. KEV is not listed, and no active exploitation is known. The bug is trivially triggered - any standard DHCPv6 client with a 10-byte DUID hits the path on every packet against default server configurations - so the low EPSS likely reflects the limited attacker value of the overread rather than difficulty of triggering. A discrepancy exists between the CVE description ('no publicly available patches') and the GHSA advisory, which cites fix commits ed38cffa and 6907f28 as merged; this appears to reflect the absence of an official OpenWrt package release rather than the absence of any committed code fix - defenders should verify whether their build incorporates those commits. No integrity impact is present. The primary real-world risk is inadvertent stack data leakage on little-endian OpenWrt targets where DHCPv6 server mode is active.

Exploit ScenarioDerived

An attacker with network access to UDP port 547 sends a DHCPv6 SOLICIT containing a 10-byte client DUID (the default DUID-LL length used by most clients), causing odhcpd's self-loop detection at dhcpv6.c:720 to invoke memcmp() with the byte-swapped length value 2560 instead of 10, reading 2560 bytes beyond a 128-byte stack buffer. A working proof-of-concept (pov_verify.py) is included in the GHSA advisory with independently reproduced ASan crash output confirming the overread; it is not verified as a weaponized exploit capable of exfiltrating specific stack contents.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 02, 2026

Unauthenticated DHCPv6 messages sent to odhcpd on little-endian OpenWrt builds drive a 2560-byte out-of-bounds stack read from a 128-byte buffer during DHCPv6 self-loop detection. The bug lives at dhcpv6.c:720, where a network-byte-order DUID length is handed straight to memcmp() as the size argument; the server's default 10-byte DUID-LL becomes 0x0a00 in host order, so any standard client that sends a 10-byte DUID trips the overread on every packet. CVSS 3.1 scores it 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L), EPSS is 0.47% (40th percentile), and the vuln.today decision label is this_month; exploitation requires odhcpd to be running as a DHCPv6 server on a reachable UDP port 547, and because the attacker can neither steer nor observe the leaked stack bytes, the confidentiality loss is limited and a production crash is unreliable outside sanitizer builds. The vendor advisory ships a working PoV/reproducer for the overread; upstream commits addressing it exist but no tagged release was confirmed at time of analysis.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. The correction is in commit ed38cffa927d5fd450d20bfd3f7fb8d8e8fff301 on master and backported as 6907f28f9ddeef9f69f5ee10bbc9ba8adc0ef57f on the 25.12 branch - confirming that pull request https://github.com/openwrt/odhcpd/pull/401 is merged is the reliable check, since the PR bundles this DUID-length fix with several other memory-safety corrections (DHCPv4 option iterator bounds, IA_NA/IA_PD length guards, PXE entry handling). Operators who cannot rebuild immediately should scope the exposure: restrict UDP port 547 so only trusted relays and on-link clients can reach odhcpd, or disable DHCPv6 server mode (dhcpv6 'server') on interfaces where it is not required - the trade-off is loss of DHCPv6 address and prefix delegation service on those segments, and since the trigger is the length comparison itself, no server-side configuration knob short of removing server mode removes the code path. Because the leak is neither attacker-directed nor observable and a production crash is unlikely, containment rather than emergency action fits the this_month priority and the 0.47% EPSS. Advisory details and the vendor PoV are at https://github.com/openwrt/odhcpd/security/advisories/GHSA-x8x4-7gvf-gp45.

Affected VersionsENISA

odhcpd ≤ 25.12

Affected Packages

euvd odhcpd 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

odhcpd is the combined DHCPv6, DHCPv4 and router-advertisement daemon shipped with OpenWrt, and the flaw sits in handle_client_request() inside dhcpv6.c, in the self-loop detection guard that compares the client DUID against the server's own DUID before answering. The struct field dest.serverid_length is stored in network byte order via htons(), but it is passed unchanged as the third argument to memcmp(), which expects a host-order byte count. With the default DUID-LL server identity of 10 bytes, the stored value is 0x000a, and on little-endian hardware memcmp() interprets it as 0x0a00 = 2560 bytes against clientid.buf, a 128-byte stack buffer. This is CWE-126 (buffer overread), not a write: the code reads past the buffer, and the vendor's ASan trace localises the read to the 'clientid' object spanning bytes [336,470) of the frame. Reaching the memcmp() requires clientid.len == serverid_length in network order, i.e. the client DUID must have the same byte length as the server DUID; the advisory's reproducer wraps a SOLICIT with a 10-byte DUID in a relay-forward message to get past the multicast source check and sends it to udp/547. The endianness dependency means x86, ARM-LE and MIPS-LE targets are affected while big-endian MIPS is not. The vendor's suggested correction converts both lengths with ntohs() before the comparison and the memcmp() size; the upstream fix commits implement that alongside a batch of unrelated hardening changes in the same pull request.

Know when Odhcpd 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_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
vuln.today AI 6.5 MEDIUM

Network-reachable on UDP 547 with no auth; read-only stack overread carries low confidentiality impact; unreliable DoS justifies A:L over A:H.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

DescriptionCVE.org

odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. In versions 25.12 and prior, odhcpd's DHCPv6 self-loop detection at dhcpv6.c:720 uses a network-byte-order DUID length value directly as the memcmp() size parameter. On little-endian hosts, this causes memcmp() to read far beyond the stack buffer - a single unauthenticated DHCPv6 packet triggers a 2560-byte overread from a 128-byte buffer. At time of publication, there are no publicly available patches.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
OpenWrt DHCP/RA daemon, common on home and embedded routers
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

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