CVE-2026-53921openwrt odhcpd
Stack buffer overflow in OpenWrt odhcpd
Critical 9.8 No auth needed
Follow: this CVE · openwrt · openwrt odhcpd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 23, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-121
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
odhcpd, the DHCPv6, DHCPv4, and router-advertisement server in OpenWrt, contains a stack buffer overflow in its DHCPv6 IA response handler. An unauthenticated remote attacker can send a UDP packet with multiple IA options to write past a 512-byte buffer, potentially achieving code execution with root privileges.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 25.12
Update odhcpd to version 25.12 or later where the vulnerability has been patched.
- Apply the vendor's security update for odhcpd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- openwrt · odhcpd
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.