Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-55606 EUVD-2026-108970

odhcpd: Stack buffer overread via DUID length endianness mismatch in memcmp()

Published Oct 23, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
openwrt odhcpd <= 25.12 —

References