The OpenWrt project has released security updates for a critical vulnerability in odhcpd, the DHCPv6 server that ships with the popular open-source router firmware. The flaw, tracked as CVE-2026-53921 with a CVSS score of 9.8, can be triggered by an unauthenticated attacker on the network. It was first highlighted for Russian-speaking readers by Xakep.ru.
Technical details
odhcpdhandles DHCPv6 traffic on UDP port 547 and runs as root by default.- A crafted DHCPv6 REQUEST can cause the handler to write past the end of a 512-byte buffer. The vulnerable logic sits in older
odhcpdversions containing thedhcpv6_ia_handle_IAs()andbuild_ia()functions. - The outcome ranges from denial of service to arbitrary code execution as root, which means full takeover of the router.
- Many embedded devices lack stack protection and ASLR, which makes exploitation easier. The project’s advisory (GHSA-7fwx-hhrg-3496) includes proof-of-concept scripts for both scenarios.
Other fixes in the release
OpenWrt 24.10.8 also addresses several other issues in default-enabled network services. These include memory-safety bugs, three HTTP request smuggling issues in uhttpd, a DHCPv6 hostname injection that can lead to stored XSS in the LuCI lease list (CVE-2026-62948), and an authenticated path traversal in cgi-io (CVE-2026-62947).
Who is affected
OpenWrt powers a large number of home and small-office routers, community mesh networks and embedded appliances, and many commercial firmwares are built on it. Any device exposing DHCPv6 on an untrusted segment, such as a guest network, a shared building network or an ISP-facing interface, should be treated as exposed until it is updated. The 24.10 branch now receives only security fixes, and its support ends in September 2026.
Recommendations
- Upgrade to OpenWrt 24.10.8 or 25.12.5 using the Firmware Selector or your vendor’s equivalent build.
- Plan migration from 24.10 to 25.12 before end of support.
- Where an immediate upgrade is impossible, limit DHCPv6 service to trusted interfaces and block UDP 547 from untrusted segments.
- Vendors shipping OpenWrt-derived firmware should rebase onto the fixed
odhcpdand publish updates.