CVE-2026-53921: CWE-121: Stack-based Buffer Overflow in openwrt odhcpd
Description
A critical stack-based buffer overflow vulnerability exists in the odhcpd DHCPv6 IA response handler used by OpenWrt. Versions prior to 25.12 are affected. The flaw allows writing beyond a fixed 512-byte stack buffer when processing DHCPv6 REQUEST packets with many IA options. The vulnerability is reachable remotely via unauthenticated UDP packets and runs with root privileges. This can lead to remote code execution, especially on embedded devices lacking typical memory protections. The issue has been fixed in OpenWrt version 25.12.
CVSS v3.1
Score 9.8critical
Affected software
openwrt
odhcpd
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-53921 is a stack-based buffer overflow in the odhcpd component of OpenWrt, specifically in the DHCPv6 IA response handler. When a DHCPv6 REQUEST packet contains enough IA options to nearly fill the reply buffer, two independent overflow conditions occur in the same call chain, allowing writes past the end of a fixed 512-byte stack buffer named pdbuf. Since odhcpd runs as root and embedded targets often lack mitigations like stack canaries and ASLR, exploitation could lead to remote code execution. The vulnerability is exploitable remotely via unauthenticated UDP packets. The flaw was patched in OpenWrt version 25.12.
Potential Impact
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary code with root privileges on affected OpenWrt devices. This is due to the stack-based buffer overflow in odhcpd's DHCPv6 IA response handler. The vulnerability affects devices that process DHCPv6 requests and lack common memory protection mechanisms, increasing the likelihood of full system compromise.
Mitigation Recommendations
Upgrade odhcpd to OpenWrt version 25.12 or later, where this vulnerability has been patched. No other mitigations are specified or required as the fix addresses the root cause.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T15:46:12.316Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6adb61954d27ba8daa2c43b3
Added to database: 10/23/2026, 13:31:01 UTC
Last enriched: 10/23/2026, 13:45:23 UTC
Last updated: 10/23/2026, 15:26:05 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.