CVE-2026-53921: DHCPv6 stack buffer overflow in OpenWrt odhcpd
CVE-2026-53921 is a stack-based buffer overflow in the DHCPv6 Identity Association (IA) response serialization performed by OpenWrt's odhcpd service. A crafted DHCPv6 REQUEST containing enough IA options can nearly exhaust a fixed 512-byte stack buffer, after which additional response data is appended without sufficient bounds checking. Two overflow sites involve build_ia(), which appends an error-status option, and dhcpv6_ia_handle_IAs(), which appends Reconfigure Accept and associated authentication data. An unauthenticated attacker able to reach the DHCPv6 server can trigger memory corruption, potentially causing a service crash or arbitrary code execution with root privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disrupt DHCPv6 service or execute arbitrary code as root, potentially compromising the router's confidentiality, integrity, and availability. Root-level compromise could expose sensitive configuration and permit modification of routing, firewall, and other device settings. Code execution is more feasible on embedded targets lacking stack canaries and ASLR, but is not guaranteed on every affected platform. The published CVSS v3.1 score is 9.8.
Mitigation
If you can’t patch tonight, do this now.
Until patched, reduce exposure by restricting access to the DHCPv6 server on UDP port 547 to necessary network segments and preventing access from untrusted segments. If operationally acceptable, disable DHCPv6 server functionality on exposed interfaces. Network restrictions do not protect against malicious clients that retain access to the service; patching remains necessary.
Remediation
Patch, then assume compromise.
Install OpenWrt 24.10.8 or 25.12.5, or a later supported release containing the odhcpd fixes. Prefer migration from the 24.10 branch to a supported release. For custom builds, incorporate both response-buffer bounds checks: build_ia() must verify capacity before appending the error-status option, and dhcpv6_ia_handle_IAs() must reserve enough space for Reconfigure Accept and the additional authentication data used by DHCPv6 REQUEST messages.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
References
Frequently asked questions
- Is CVE-2026-53921 exploited in the wild?
- As of Oct 29, 2026, Mallory has no reports of CVE-2026-53921 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-53921?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-53921, the earliest disclosed Jul 28, 2026.
- Is there a patch for CVE-2026-53921?
- Install OpenWrt 24.10.8 or 25.12.5, or a later supported release containing the odhcpd fixes. Prefer migration from the 24.10 branch to a supported release.
- How severe is CVE-2026-53921?
- CVE-2026-53921 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 1.1% (67th percentile) as of Oct 29, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.