Description
odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA handler keeps a per-message `first` lease pointer so multiple IA options in one message reuse the same Reconfigure authentication key. A DHCPv6 REQUEST from an adjacent-network client can make the first IA set `first`, then make a later same-IAID IA fail the on-link check and free that same lease, leaving `first` dangling. A following IA in the same packet allocates a new lease and copies `first->key`, producing a 16-byte heap-use-after-free read. ASan confirms the UAF; native tracing shows the packet shape can deterministically reclaim the freed lease as the destination allocation, producing a zeroed Reconfigure key copy. The validated impact is unauthenticated adjacent-network denial of service and DHCPv6 Reconfigure/ForceRenew key confusion. Arbitrary PC control is not proven for this UAF alone. This issue has been patched in version 25.12.
Published: 2026-10-23
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A use‑after‑free bug in the odhcpd DHCPv6 IA handler allows a specially crafted DHCPv6 REQUEST packet from an adjacent‑network client to free a lease and leave an internal pointer dangling. A later IA option in the same packet allocates a new lease using the dangling pointer, resulting in a read of a 16‑byte Reconfigure key that may be zeroed. The vibration of this vulnerability has been validated as an unauthenticated denial of service and causes confusion of the Reconfigure/ForceRenew key used by IPv6 clients. No evidence indicates arbitrary code execution can be achieved with the UAF alone. Weakening of the key may lead to protocol mis‑behaviour.

Affected Systems

The vulnerability affects the openwrt:odhcpd DHCPv6 server on all builds prior to version 25.12. Users running older OpenWrt releases with odhcpd before the 25.12 update are potentially impacted.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity vulnerability. The EPSS score is unavailable, so the current estimated exploitation probability is unknown, but the fact that the issue can be triggered by a crafted packet sent from an adjacent network suggests it is network‑based and requires an attacker to be within or able to inject traffic into the local network segment. The vulnerability is not listed in the CISA KEV catalog, and no active exploit has been reported. The likely attack vector is an unauthenticated adjacent‑network client sending a DNS‑style packet; success requires no special privileges and does not rely on user interaction. The risk for enterprises with exposed DHCPv6 services is therefore high, especially for networks that allow neighboring subnet clients.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade odhcpd to release 25.12 or later, which contains the patch that removes the dangling pointer issue.
  • If an upgrade is not immediately possible, block DHCPv6 traffic on the adjacent‑network interface using firewall rules or configure the router to disallow DHCPv6 requests from unknown networks.
  • Finally, monitor DHCPv6 logs for unexpected REQUEST packets and consider isolating the router from adjacent networks until a patch or configured firewall rules are in place.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, '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 handler keeps a per-message `first` lease pointer so multiple IA options in one message reuse the same Reconfigure authentication key. A DHCPv6 REQUEST from an adjacent-network client can make the first IA set `first`, then make a later same-IAID IA fail the on-link check and free that same lease, leaving `first` dangling. A following IA in the same packet allocates a new lease and copies `first->key`, producing a 16-byte heap-use-after-free read. ASan confirms the UAF; native tracing shows the packet shape can deterministically reclaim the freed lease as the destination allocation, producing a zeroed Reconfigure key copy. The validated impact is unauthenticated adjacent-network denial of service and DHCPv6 Reconfigure/ForceRenew key confusion. Arbitrary PC control is not proven for this UAF alone. This issue has been patched in version 25.12.
Title odhcpd DHCPv6 IA dangling first pointer use-after-free
Weaknesses CWE-416
CWE-672
CWE-825
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T17:42:21.816Z

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

Link: CVE-2026-53918

cve-icon Vulnrichment

Updated: 2026-10-30T17:41:59.229Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-30T18:17:31.597

Link: CVE-2026-53918

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-416

    Use After Free

  • CWE-672

    Operation on a Resource after Expiration or Release

  • CWE-825

    Expired Pointer Dereference