CVE-2026-53921 openwrt · odhcpd
AI summary
In OpenWrt odhcpd before 25.12, the DHCPv6 IA response handler overflows a stack buffer from a single unauthenticated UDP packet, enabling realistic remote code execution as root. Critical (CVSS 9.8); upgrade to 25.12.
Official description
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.
- Published
- 2026-10-23 14:17 UTC
- Modified
- 2026-10-29 14:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.88% (percentile 57)
- ENISA EUVD
- EUVD-2026-108966
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-121
- Category
- Edge device (VPN, firewall, router)
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/openwrt/odhcpd/commit/0320032ae313452f3c8cb8725c621dd06c36dc03 - github.com
https://github.com/openwrt/odhcpd/commit/03dacc23356b5789842b9d1bba0200fd005e35f3 - github.com
https://github.com/openwrt/odhcpd/commit/2a42d34c3615e2449ca273f673eee7c429d819a9 - github.com
https://github.com/openwrt/odhcpd/commit/6634b7a3c79c41a27687925c98c35c8aea2f2b5a - github.com
https://github.com/openwrt/odhcpd/commit/d168c27fb6a55a07ac4c888e09ff2f41e263d7b7 - github.com
https://github.com/openwrt/odhcpd/commit/d329a15413387027453644cd363dca06ade28328 - github.com
https://github.com/openwrt/odhcpd/security/advisories/GHSA-7fwx-hhrg-3496