Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach DHCPv6 server via UDP/547
-
DeliverySend crafted SOLICIT to establish IA_NA bindings
-
ExploitSend REQUEST with overflow-inducing IA option count
-
ExecutionOverflow pdbuf stack buffer in IA serializer
-
PersistCorrupt stack return address (absent canary/ASLR on embedded target)
-
ImpactExecute arbitrary code as root
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must be running OpenWrt with odhcpd configured as a DHCPv6 server, which is the default IPv6 configuration in OpenWrt. Site 1 (build_ia() overflow at dhcpv6-ia.c:594) additionally requires the server interface to have at least two global IPv6 addresses assigned so that each successful IA_NA reply is 72 bytes; the attacker must first send a relay-forwarded SOLICIT to establish five IA_NA bindings, then send a REQUEST carrying those five IAIDs plus seven IA_NA options containing off-link IA_ADDR sub-options. Site 2 (RECONF_ACCEPT overflow at dhcpv6-ia.c:1246) requires the DHCPv6 REQUEST to include a RECONF_ACCEPT option, 22 or more unassignable IA_PD options, and one final IA_NA option - no pre-established bindings are required. Both sites are reachable directly from the local link over UDP port 547, or from a broader network segment via a DHCPv6 relay agent; the CVSS AV:N metric reflects the relay-forwarding path. No authentication is required for either site. Exploitation is limited to odhcpd versions prior to 25.12; the absence of stack canaries and ASLR on many embedded OpenWrt targets - confirmed by the advisory author - makes code execution realistic but not guaranteed across all hardware configurations. |
| Impact | CVSS 9.8 is well-justified: AV:N/AC:L/PR:N/UI:N reflects unauthenticated, network-reachable exploitation via a single crafted UDP packet with no race condition or special attacker-side preparation. The EPSS score of 0.88% (59th percentile) is notably low relative to the CVSS severity and the act_now decision label; this divergence most plausibly reflects that odhcpd is constrained to OpenWrt-based embedded devices and mass internet-scanning of DHCPv6 endpoints has not materialized, not that the vulnerability is low-risk. There is no CISA KEV listing, so active exploitation is not confirmed. However, the GHSA advisory (GHSA-7fwx-hhrg-3496) includes Python PoC scripts demonstrating both overflow sites via ASan, two independent overflow sites in the same call chain increase exploitation reliability, odhcpd runs as root, and the advisory explicitly states that embedded OpenWrt targets often lack stack canaries and ASLR - making RCE realistic, not merely theoretical. The act_now decision label must be weighted heavily here. The low EPSS and absence of KEV are not grounds for deferral; they likely reflect the niche deployment footprint of odhcpd rather than intrinsic resilience. Any OpenWrt deployment running odhcpd as a DHCPv6 server prior to version 25.12 should treat this as an emergency patch. |
| Exploit ScenarioDerived | An attacker reachable via UDP port 547 - either on the same link as an OpenWrt DHCPv6 server or via a DHCPv6 relay agent - sends a sequence of crafted DHCPv6 packets designed to exhaust odhcpd's fixed 512-byte stack buffer (pdbuf) during IA reply serialization, triggering one of two independently confirmed overflow sites in build_ia() or dhcpv6_ia_handle_IAs(). Because odhcpd runs as root and embedded OpenWrt targets typically lack stack canaries and ASLR, overwriting the stack return address with attacker-controlled data can redirect execution to arbitrary code. Self-contained Python PoC scripts demonstrating the overflow trigger for both sites are included in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 02, 2026
Stack buffer overflow in OpenWrt's odhcpd DHCPv6 server (all versions before 25.12) lets an unauthenticated remote sender write past a fixed 512-byte stack buffer through a single crafted UDP packet on port 547, with two independent overflow sites in the IA reply path. odhcpd runs as root and embedded OpenWrt targets commonly lack stack canaries and ASLR, so memory corruption may escalate to code execution on affected hardware, though such escalation is realistic rather than guaranteed across all targets. Vendor-released patch: odhcpd 25.12; CISA KEV does not list this issue and EPSS is low at 0.88% (59th percentile), but a public PoC reference exists - it is not verified as working exploit code.
RemediationAI
Upgrade odhcpd to version 25.12, the vendor-released fix; the patches are published as commits 0320032ae313452f3c8cb8725c621dd06c36dc03 (adds a buflen >= handshake_len guard around the RECONF_ACCEPT/auth handshake write), 03dacc23356b5789842b9d1bba0200fd005e35f3, 2a42d34c3615e2449ca273f673eee7c429d819a9, 6634b7a3c79c41a27687925c98c35c8aea2f2b5a, d168c27fb6a55a07ac4c888e09ff2f41e263d7b7 and d329a15413387027453644cd363dca06ade28328, and details are in the advisory https://github.com/openwrt/odhcpd/security/advisories/GHSA-7fwx-hhrg-3496. The advisory's own fix guidance is to size the guard in build_ia() to include the 6-byte status sub-option (required = ia_len + (status ? sizeof(o_status) : 0)) and to bounds-check the 36-byte RECONF_ACCEPT handshake before writing it; firmware images embedding a vulnerable odhcpd must be rebuilt against 25.12 rather than patched in place. The advisory supplies no vendor-documented workaround other than updating, so the only exposure-reducing option short of the patch is to stop odhcpd serving DHCPv6 on untrusted segments (setting the interface's dhcpv6 option to disabled), with the trade-off that clients on that segment lose stateful IPv6 address assignment; filtering UDP port 547 is not a complete substitute because relay-forwarded traffic that legitimately reaches the server can still carry the trigger.
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
CWE-121 stack-based buffer overflow in odhcpd's DHCPv6 IA response serialization (src/dhcpv6-ia.c), reachable through the functions dhcpv6_ia_handle_IAs() and build_ia(), which assemble reply options into a fixed 512-byte stack buffer named pdbuf. Site 1: build_ia() only verifies buflen >= sizeof(struct dhcpv6_ia_hdr) (16 bytes) before appending a 6-byte status sub-option, writing 22 bytes into space that may hold fewer, so a REQUEST with five valid IA_NAs plus seven off-link IA_NAs overruns pdbuf by 2 bytes when the server interface carries two global IPv6 addresses (each successful IA_NA reply is 72 bytes). Site 2: when a RECONF_ACCEPT option is present and the first assigned IA is reached, dhcpv6_ia_handle_IAs() unconditionally writes a 4-byte RECONF_ACCEPT option plus a 32-byte authentication record (36 bytes) with no bounds check, and the unsigned buflen -= handshake_len subtraction underflows when fewer than 36 bytes remain, corrupting subsequent size tracking; 22 unassignable IA_PD options (22 bytes each) plus one final IA_NA drive the buffer to 28 remaining bytes. Both sites are reachable over UDP port 547 directly from the local link or via a DHCPv6 relay agent (the AV:N path), require no authentication (PR:N), no user interaction, and no race or special attacker preparation. The advisory also notes an unrelated stack over-read at dhcpv6.c:720 caused by a DUID length endianness mismatch in memcmp(), to be filed separately.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
DHCPv6 is unauthenticated (PR:N); relay-forwarding enables network reachability (AV:N); Site 2 requires only a crafted single packet with no race condition (AC:L); root-level RCE justifies C:H/I:H/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA response handler writes past the end of a fixed 512-byte stack buffer (pdbuf) when a single DHCPv6 REQUEST carries enough IA options to nearly exhaust the reply space. Two independent overflow sites exist in the same call chain, both reachable from the network via a single unauthenticated UDP packet. odhcpd runs as root on OpenWrt; embedded targets often lack stack canaries and ASLR, making code execution realistic. This issue has been patched in version 25.12.
Technical POC Analysis
CWE-121 stack-based buffer overflow in odhcpd DHCPv6 IA reply serialization.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenWrt's DHCPv6 server (odhcpd) is affected by a critical stack buffer overflow that allows unauthenticated remote attackers to potentially execute code on vulnerable routers and embedded devices. Successful exploitation could grant attackers root-level control, compromising network integrity and data confidentiality across the organization. Leadership should prioritize patching to mitigate risks to branch offices, remote workers, and IoT deployments relying on OpenWrt.
Apply vendor patch.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
A heap use-after-free in OpenWrt's odhcpd DHCPv6 IA handler allows an unauthenticated client on the same local link or a
An out-of-bounds stack read in OpenWrt's odhcpd DHCPv6 server lets an unauthenticated client on the same IPv6 link discl
Unauthenticated DHCPv6 messages sent to odhcpd on little-endian OpenWrt builds drive a 2560-byte out-of-bounds stack rea
Unauthenticated flooding of crafted DHCPv6 RENEW messages can repeatedly crash odhcpd, the DHCPv6/DHCPv4/router-advertis
EUVD-2026-108966
NVD
CVE.org
EPSS
GitHub
Exploit-DB