Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain access to same Layer 2 segment as target
-
DeliveryDeploy rogue DHCPv6 server on link
-
ExploitWait for target dhcpcd to send DHCPv6 SOLICIT
-
InstallRespond with crafted ADVERTISE containing OPTION_PD_EXCLUDE with prefix length /121-/128
-
C2One-byte stack overflow triggered in dhcp6_makemessage()
-
ExecuteAdjacent stack memory corrupted
-
Impactdhcpcd crash and IPv6 network disruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be present on the same Layer 2 network segment as the target (AV:A) - exploitation across routed network boundaries is not possible. The target must be running dhcpcd version 10.3.2 or earlier with IPv6 and DHCPv6 active, and must have dhcpcd configured to request IA_PD (prefix delegation) - systems not using prefix delegation do not traverse the vulnerable code path. The attacker must be capable of delivering a DHCPv6 ADVERTISE message to the target before or instead of the legitimate DHCPv6 server, effectively functioning as a rogue DHCPv6 server on the link. The crafted ADVERTISE must specifically contain an IA_PD option with an IAPREFIX /0 sub-option carrying OPTION_PD_EXCLUDE with an exclude prefix length in the range /121 through /128. Exploitation is bounded by: (1) adjacency requirement eliminating remote internet-based attackers, (2) dependency on IPv6 and prefix delegation being enabled, (3) dhcpcd version being unpatched. DHCPv6 Guard on managed switches directly and completely blocks the delivery mechanism. |
| Impact | The provided CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) scores 6.0 (Medium), correctly reflecting that exploitation is constrained to adjacent-network attackers and impacts only availability. The AT:P (Attack Requirements: Present) metric acknowledges the need to act as a rogue DHCPv6 server on the same link - a meaningful barrier compared to internet-exposed flaws. EPSS data is not present in the provided intelligence, so statistical exploitation probability cannot be cited. There is no CISA KEV listing, and no public proof-of-concept exploit was identified from available sources. Real-world risk is elevated in environments where IPv6 is enabled on unsegmented networks - shared Wi-Fi, campus LANs, and IoT/embedded deployments with dhcpcd - because an attacker already on the link faces no authentication barrier to sending the crafted packet. Modern stack protections (stack canaries, ASLR) may prevent reliable code execution from a one-byte overflow, making crash-based DoS the most realistic near-term impact. The patch is trivially small and low-risk to apply, making remediation effort the strongest argument against delay. |
| Exploit ScenarioDerived | An attacker on the same Layer 2 segment as a target running dhcpcd - such as a compromised host on a shared LAN, or an attacker on an unsegmented corporate Wi-Fi network - configures a rogue DHCPv6 server. When the target's dhcpcd sends a DHCPv6 SOLICIT, the attacker responds with a crafted ADVERTISE message containing an IA_PD IAPREFIX /0 sub-option with an OPTION_PD_EXCLUDE using an exclude prefix length between /121 and /128. The dhcpcd process on the target writes one byte past the end of the 16-byte |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 23, 2026
Stack memory corruption in dhcpcd through 10.3.2 exposes systems running the DHCPv6 client to availability disruption from unauthenticated attackers on the same network link. The one-byte off-by-one overflow in dhcp6_makemessage() is triggered by a crafted DHCPv6 ADVERTISE containing an RFC6603 OPTION_PD_EXCLUDE sub-option with an exclude prefix length of /121 through /128, overflowing a 16-byte stack buffer by exactly one byte. No active exploitation has been confirmed (not listed in CISA KEV), and no public exploit code has been identified at time of analysis; however, the upstream fix commit precisely identifies the trigger, making independent exploit development straightforward.
RemediationAI
The primary remediation is to apply upstream commit 2f00c7bfc408b6582d331932dfa47829c4819029 from https://github.com/NetworkConfiguration/dhcpcd/commit/2f00c7bfc408b6582d331932dfa47829c4819029, or to update to a distribution-packaged release that incorporates this commit - a specific patched release version number was not independently confirmed from available data, so users should verify with their distribution maintainers. As an immediate compensating control where patching is not feasible, administrators should disable DHCPv6 prefix delegation (IA_PD) in dhcpcd configuration if IPv6 prefix delegation is not operationally required, which eliminates the vulnerable code path entirely; note this may affect IPv6 connectivity in environments relying on delegated prefixes. Deploying DHCPv6 Guard or RA Guard on managed switches prevents rogue DHCPv6 ADVERTISE messages from reaching clients, directly blocking the adjacent-network attack vector without requiring client-side changes; however, this control is only available on managed infrastructure and does not apply to unmanaged segments. Restricting Layer 2 access via 802.1X port authentication reduces the pool of potential adjacent attackers but does not eliminate the vulnerability itself.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
dhcpcd is an open-source DHCP client daemon (CPE: cpe:2.3:a:networkconfiguration:dhcpcd:*:*:*:*:*:*:*:*) used to manage IPv4 and IPv6 network configuration, widely deployed on Linux distributions and embedded/IoT systems. The affected function dhcp6_makemessage() in src/dhcp6.c constructs outgoing DHCPv6 messages and, when processing a received ADVERTISE containing an IA_PD option with an RFC6603 OPTION_PD_EXCLUDE sub-option, serializes the exclude prefix into a fixed local stack buffer declared as uint8_t exb[16]. For exclude prefix lengths /121 through /128, the serialization logic requires 17 bytes of buffer space, writing one byte past the end of the array. This is a classic CWE-787 (Out-of-bounds Write) off-by-one stack buffer overflow. The upstream fix, confirmed in commit 2f00c7bfc408b6582d331932dfa47829c4819029, is a single-character change: uint8_t exb[16] becomes uint8_t exb[17]. The simplicity of the fix and the precision of the trigger condition (specific prefix length range) indicate a well-understood and narrowly scoped root cause.
Know when Dhcpcd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Adjacent-only via rogue DHCPv6 server; no privileges or interaction required; impact limited to availability (crash) with no confirmed confidentiality or integrity loss.
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
dhcpcd through 10.3.2, fixed in commit 2f00c7b, contains a one-byte stack out-of-bounds write vulnerability in dhcp6_makemessage() in src/dhcp6.c that allows unauthenticated same-link attackers to write beyond a fixed local buffer by serializing an oversized RFC6603 OPTION_PD_EXCLUDE option body. Attackers can send a crafted DHCPv6 ADVERTISE message containing an IA_PD IAPREFIX /0 with a valid OPTION_PD_EXCLUDE using an exclude prefix length of /121 through /128 to trigger the out-of-bounds write and potentially corrupt adjacent stack memory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
dhcpcd before 6.10.0, as used in Android 4.x before 4.4.4, 5.0.x before 5.0.2, 5.1.x before 5.1.1, and 6.x before 2016-0
dhcp6.c in dhcpcd before 6.11.7 and 7.x before 7.2.2 has a buffer over-read in the D6_OPTION_PD_EXCLUDE feature. Rated c
dhcpcd before 7.2.1 contains a buffer overflow in dhcp6_findna in dhcp6.c when reading NA/TA addresses. Rated critical s
Stack out-of-bounds write in dhcpcd (the widely-used DHCP/DHCPv6 client) through version 10.3.2 lets a same-link attacke
Stack-based buffer overflow in the get_packet method in socket.c in dhcpcd 3.2.3 allows remote attackers to cause a deni
dhcpcd before 6.10.0 allows remote attackers to cause a denial of service (invalid read and crash) via vectors related t
The decode_search function in dhcp.c in dhcpcd 3.x allows remote DHCP servers to cause a denial of service (out-of-bound
The decode_search function in dhcp.c in dhcpcd 3.x allows remote DHCP servers to cause a denial of service (out-of-bound
The decode_search function in dhcp.c in dhcpcd 3.x does not properly free allocated memory, which allows remote DHCP ser
Denial of service in dhcpcd through version 10.3.2 allows an adjacent-network attacker to exhaust memory in the daemon b
The print_option function in dhcp-common.c in dhcpcd through 6.9.1, as used in dhcp.c in dhcpcd 5.x in Android before 5.
The get_option function in dhcp.c in dhcpcd before 6.2.0, as used in dhcpcd 5.x in Android before 5.1 and other products
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| openSUSE Leap 16.0 | Affected |
| SLES-CHOST-BYOS-Aliyun | Affected |
| SLES-CHOST-BYOS-Azure | Affected |
| SLES-CHOST-BYOS-EC2 | Affected |
| SLES-CHOST-BYOS-GCE | Affected |
| SLES-CHOST-BYOS-GDC | Affected |
| SLES-CHOST-BYOS-SAP-CCloud | Affected |
EUVD-2026-38492
GHSA-8q8g-fjv5-5h56
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB