Skip to main content

dhcpcd EUVDEUVD-2026-38492

| CVE-2026-56114 MEDIUM
Out-of-bounds Write (CWE-787)
2026-06-23 VulnCheck GHSA-8q8g-fjv5-5h56
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain access to same Layer 2 segment as target
  2. Delivery
    Deploy rogue DHCPv6 server on link
  3. Exploit
    Wait for target dhcpcd to send DHCPv6 SOLICIT
  4. Install
    Respond with crafted ADVERTISE containing OPTION_PD_EXCLUDE with prefix length /121-/128
  5. C2
    One-byte stack overflow triggered in dhcp6_makemessage()
  6. Execute
    Adjacent stack memory corrupted
  7. Impact
    dhcpcd 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 exb stack buffer in dhcp6_makemessage(), corrupting adjacent stack memory and most likely crashing dhcpcd, disrupting the host's IPv6 network configuration. No public exploit code has been identified at time of analysis, but the precise trigger conditions are fully documented in the commit diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dhcpcd patch: 2f00c7bfc408b6582d331932dfa47829c4819029
dhcpcd 0 ≤10.3.2

Affected Packages

euvd dhcpcd no fix

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Adjacent-only via rogue DHCPv6 server; no privileges or interaction required; impact limited to availability (crash) with no confirmed confidentiality or integrity loss.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.9 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular DHCPv6 client across Linux distros and embedded systems
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Dhcpcd

View all
CVE-2016-1503 CRITICAL
9.8 Apr 18

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

CVE-2019-11766 CRITICAL
9.8 May 05

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

CVE-2019-11577 CRITICAL
9.8 Apr 28

dhcpcd before 7.2.1 contains a buffer overflow in dhcp6_findna in dhcp6.c when reading NA/TA addresses. Rated critical s

CVE-2026-56115 HIGH
8.7 Jun 23

Stack out-of-bounds write in dhcpcd (the widely-used DHCP/DHCPv6 client) through version 10.3.2 lets a same-link attacke

CVE-2012-2152 HIGH
7.5 Jul 25

Stack-based buffer overflow in the get_packet method in socket.c in dhcpcd 3.2.3 allows remote attackers to cause a deni

CVE-2016-1504 HIGH
7.5 Feb 07

dhcpcd before 6.10.0 allows remote attackers to cause a denial of service (invalid read and crash) via vectors related t

CVE-2012-6699 HIGH
7.5 Apr 11

The decode_search function in dhcp.c in dhcpcd 3.x allows remote DHCP servers to cause a denial of service (out-of-bound

CVE-2012-6698 HIGH
7.5 Apr 11

The decode_search function in dhcp.c in dhcpcd 3.x allows remote DHCP servers to cause a denial of service (out-of-bound

CVE-2012-6700 HIGH
7.5 Apr 11

The decode_search function in dhcp.c in dhcpcd 3.x does not properly free allocated memory, which allows remote DHCP ser

CVE-2026-56116 HIGH
7.1 Jun 23

Denial of service in dhcpcd through version 10.3.2 allows an adjacent-network attacker to exhaust memory in the daemon b

CVE-2014-7913 MEDIUM
6.8 Jul 30

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.

CVE-2014-7912 MEDIUM
6.8 Jul 30

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

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy