Odhcpd
Monthly
A heap use-after-free in OpenWrt's odhcpd DHCPv6 IA handler allows an unauthenticated client on the same local link or an adjacent IPv6 network to crash or corrupt the router's DHCPv6/RA daemon. The flaw lives in the per-message `first` lease pointer used to reuse a Reconfigure authentication key across multiple IA options: a REQUEST that binds one IA, then fails the on-link check on a later IA with the same IAID, frees the lease that `first` still references, and a subsequent IA copies 16 bytes from that freed chunk into a new lease's key. The validated impact is adjacent-network denial of service plus Reconfigure/ForceRenew key confusion (deterministically an all-zero key under the traced reclaim pattern); arbitrary code execution is not proven for this UAF alone, and a public maintainer reproduction bundle demonstrates the crash under ASan. It is not confirmed actively exploited (no CISA KEV listing), but it carries a 'this_week' priority and affects essentially every OpenWrt release from 18.06 through the 25.12 package pin.
An out-of-bounds stack read in OpenWrt's odhcpd DHCPv6 server lets an unauthenticated client on the same IPv6 link disclose server stack memory, roughly four bytes per request, by placing a zero-length or otherwise truncated IA_NA/IA_PD option at the very end of the daemon's 8192-byte receive buffer; the disclosed bytes are reflected back to the sender as the IAID in odhcpd's DHCPv6 reply. Every inspected OpenWrt stable release from 17.01.0 through the 25.12.x series pins a vulnerable odhcpd commit, and the impact is confidentiality-only (assessed CVSS:3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). A validated proof-of-concept reproducer, published alongside the upstream advisory, leaks the saved stack canary on ARM, but there is no CISA KEV listing and each probe returns only about four bytes, so defeating canary and ASLR protections requires many requests.
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.
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.
Unauthenticated flooding of crafted DHCPv6 RENEW messages can repeatedly crash odhcpd, the DHCPv6/DHCPv4/router-advertisement server shipped and enabled by default on OpenWrt, denying IPv6 address configuration to clients on the local link. An attacker who is network-adjacent (AV:A, PR:N, UI:N) must first complete two legitimate SOLICIT/REQUEST exchanges to obtain bindings, then send a single RENEW containing multiple IA_NA options that triggers an unsigned size_t underflow and lets attacker-controlled data be serialized past the 512-byte stack buffer pdbuf; the stack canary terminates the daemon and procd respawns it, so sustained packets cause recurring DHCPv6 outages. Impact is availability-only (C:N/I:N/A:H) and the observed configuration does not establish code execution; no public exploit identified at time of analysis, and the issue is fixed in OpenWrt 25.12.5.
A heap use-after-free in OpenWrt's odhcpd DHCPv6 IA handler allows an unauthenticated client on the same local link or an adjacent IPv6 network to crash or corrupt the router's DHCPv6/RA daemon. The flaw lives in the per-message `first` lease pointer used to reuse a Reconfigure authentication key across multiple IA options: a REQUEST that binds one IA, then fails the on-link check on a later IA with the same IAID, frees the lease that `first` still references, and a subsequent IA copies 16 bytes from that freed chunk into a new lease's key. The validated impact is adjacent-network denial of service plus Reconfigure/ForceRenew key confusion (deterministically an all-zero key under the traced reclaim pattern); arbitrary code execution is not proven for this UAF alone, and a public maintainer reproduction bundle demonstrates the crash under ASan. It is not confirmed actively exploited (no CISA KEV listing), but it carries a 'this_week' priority and affects essentially every OpenWrt release from 18.06 through the 25.12 package pin.
An out-of-bounds stack read in OpenWrt's odhcpd DHCPv6 server lets an unauthenticated client on the same IPv6 link disclose server stack memory, roughly four bytes per request, by placing a zero-length or otherwise truncated IA_NA/IA_PD option at the very end of the daemon's 8192-byte receive buffer; the disclosed bytes are reflected back to the sender as the IAID in odhcpd's DHCPv6 reply. Every inspected OpenWrt stable release from 17.01.0 through the 25.12.x series pins a vulnerable odhcpd commit, and the impact is confidentiality-only (assessed CVSS:3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N). A validated proof-of-concept reproducer, published alongside the upstream advisory, leaks the saved stack canary on ARM, but there is no CISA KEV listing and each probe returns only about four bytes, so defeating canary and ASLR protections requires many requests.
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.
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.
Unauthenticated flooding of crafted DHCPv6 RENEW messages can repeatedly crash odhcpd, the DHCPv6/DHCPv4/router-advertisement server shipped and enabled by default on OpenWrt, denying IPv6 address configuration to clients on the local link. An attacker who is network-adjacent (AV:A, PR:N, UI:N) must first complete two legitimate SOLICIT/REQUEST exchanges to obtain bindings, then send a single RENEW containing multiple IA_NA options that triggers an unsigned size_t underflow and lets attacker-controlled data be serialized past the 512-byte stack buffer pdbuf; the stack canary terminates the daemon and procd respawns it, so sustained packets cause recurring DHCPv6 outages. Impact is availability-only (C:N/I:N/A:H) and the observed configuration does not establish code execution; no public exploit identified at time of analysis, and the issue is fixed in OpenWrt 25.12.5.