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
Score: 9.8 Critical
EPSS: 1.1% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

odhcpd, the OpenWrt DHCPv6 and router-advertisement daemon, contains a stack buffer overflow in the response serialization code for DHCPv6 IA options. A single unauthenticated UDP REQUEST that carries enough IA options to exhaust the 512‑byte reply buffer can overwrite adjacent stack memory. The overflow allows an attacker to corrupt the execution context and potentially inject code, leading to arbitrary code execution with the privileges of the odhcpd process, which runs as root on OpenWrt devices.

Affected Systems

Devices running OpenWrt with odhcpd before the 25.12 release are vulnerable. The daemon is the default DHCPv6 and router-advertisement server in the distribution, so nearly all OpenWrt installations that have not applied the 25.12 update are affected.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. Although EPSS data is not available and KeV does not list this vulnerability, the lack of stack canaries and ASLR on many embedded targets makes realistic exploitation likely. Two independent overflow conditions exist in the same call chain, both reachable over UDP, implying that a remote, unauthenticated attacker can trigger the vulnerability from any reachable network node. The vulnerability can be exploited without authentication, making it a high‑risk security flaw for all affected devices.

Generated by OpenCVE AI on October 23, 2026 at 16:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade odhcpd to version 25.12 or later, which includes the buffer overflow fix
  • If an immediate update is not possible, restrict or block inbound DHCPv6 traffic on the network until the firmware can be patched
  • On devices where stack protection or ASLR cannot be enabled, consider disabling odhcpd or restricting its execution to a protected compartment until a patch is applied

Generated by OpenCVE AI on October 23, 2026 at 16:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt odhcpd
Vendors & Products Openwrt
Openwrt odhcpd

Fri, 23 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title odhcpd: Stack buffer overflow in DHCPv6 IA reply serialization (2 independent sites)
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T13:28:11.455Z

Reserved: 2026-06-11T15:46:12.316Z

Link: CVE-2026-53921

cve-icon Vulnrichment

Updated: 2026-10-29T13:27:28.169Z

cve-icon NVD

Status : Deferred

Published: 2026-10-23T14:17:53.710

Modified: 2026-10-29T14:17:56.280

Link: CVE-2026-53921

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T23:30:17Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow