OpenWrt odhcpd stack buffer overread in DHCPv6 self-loop detection
openwrt odhcpd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openwrt odhcpd |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M