Buffer overflow in Openwrt Odhcpd
CVE-2026-53922
odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. In commit cfddd56 and earlier, an unauthenticated host on the same link can first obtain two bindings through normal DHCPv6 SOLICIT and REQUEST exchanges and then send a crafted RENEW containing multiple IA_NA options. An earlier matched IA consumes most of the response buffer, an unmatched IA causes the build_ia() status branch to write and return a NOBINDING response larger than the remaining space, and a subsequent matched IA is processed after dhcpv6_ia_handle_IAs() subtracts that over-return from an unsigned size_t. The resulting underflow disables subsequent length checks and permits attacker-controlled IA_ADDR serialization beyond the 512-byte stack buffer pdbuf in handle_client_request(). The stack canary terminates odhcpd, and sustained packets can repeatedly disrupt DHCPv6 service while procd respawns the process. The observed configuration does not establish code execution.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Openwrt Odhcpd — versions < c6792bac3905d4bf726d914e9994f6d4b98c5b57
- Openwrt — versions < 25.12.5
Weakness classification (CWE)
References
- github.com/openwrt/odhcpd/security/advisories/GHSA-7hcw-g2jh-pqv5
- github.com/openwrt/odhcpd/commit/c6792bac3905d4bf726d914e9994f6d4b98c5b57
- github.com/openwrt/odhcpd/commit/d08dbcc527cb8f296cd132c1e5bca696e77095b8
- github.com/openwrt/odhcpd/commit/d168c27fb6a55a07ac4c888e09ff2f41e263d7b7
- github.com/openwrt/odhcpd/commit/d329a15413387027453644cd363dca06ade28328
- github.com/openwrt/openwrt/releases/tag/v25.12.5
Frequently asked questions
- What is CVE-2026-53922?
- CVE-2026-53922 is a medium-severity vulnerability in Openwrt Odhcpd, classified under Stack-based Buffer Overflow. CVSS score: 6.5/10. Published 2026-10-12.
- How severe is CVE-2026-53922?
- Medium severity. CVSS v3 base score is 6.5 out of 10.