Skip to main content

dhcpcd CVE-2026-56115

| EUVDEUVD-2026-38494 HIGH
Out-of-bounds Write (CWE-787)
2026-06-23 VulnCheck GHSA-vhmp-9f3g-3f36
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Join victim's local link as rogue DHCPv6 server
  2. Delivery
    Race-answer SOLICIT with crafted ADVERTISE
  3. Exploit
    Embed IA_PD /0 with OPTION_PD_EXCLUDE /121-/128
  4. Install
    Client serializes exclude option in dhcp6_makemessage
  5. C2
    One-byte write past exb[16] stack buffer
  6. Execute
    Corrupt adjacent stack memory
  7. Impact
    Crash dhcpcd or potential further corruption

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

Requires the attacker to be on the same link (link-local/adjacent network) and able to act as a rogue DHCPv6 server answering the victim before the legitimate server; the victim must run dhcpcd ≤10.3.2 with DHCPv6 prefix delegation active so that dhcp6_makemessage() processes IA_PD. The specific trigger is a DHCPv6 ADVERTISE carrying an IA_PD IAPREFIX with prefix length /0 plus a valid RFC6603 OPTION_PD_EXCLUDE whose exclude prefix length is /121 through /128 - that exact range overflows the 16-byte exb buffer by one byte. Limiting factors: exploitation is confined to the local link (not internet-routable despite the AV:N label), needs no user interaction or authentication, and is only reachable when DHCPv6/IA_PD is in use, so IPv4-only or PD-disabled deployments are not affected; the single-byte, low-control write further limits impact toward crash/DoS rather than reliable code execution.

Impact

Signals are mixed and should temper the headline 8.7 CVSS:4.0 score. The vendor vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) claims high confidentiality, integrity and availability impact, but the underlying primitive is a single-byte stack overflow whose written value is a small prefix-length byte (121-128) - realistically reliable for a crash/DoS, with code execution unproven and architecture/compiler/stack-layout dependent. CISA SSVC rates Exploitation: none, Automatable: no, and Technical Impact: only partial, which is more consistent with the limited primitive than the triple-High vector. EPSS (0.18%) and absence from KEV reinforce that this is not under active or widespread exploitation. Two data conflicts must be flagged: (1) the description states 'unauthenticated same-link attackers' yet the CVSS vector uses PR:L - the description's no-auth, adjacent-attacker model is the more credible read of a rogue-DHCPv6-server scenario; (2) the vector uses AV:N (network) but a same-link DHCPv6 ADVERTISE is link-local/adjacent (AV:A), not internet-routable - verify with the vendor advisory. Net: a real but bounded, adjacency-limited memory-corruption bug worth patching, not an internet-exposed critical.

Exploit ScenarioDerived

An attacker on the same broadcast/link segment (e.g., a guest VLAN, hostile Wi-Fi, or compromised host) runs a rogue DHCPv6 server and races to answer a victim's DHCPv6 SOLICIT with a crafted ADVERTISE containing an IA_PD IAPREFIX /0 and an OPTION_PD_EXCLUDE of /121-/128. When the victim's dhcpcd builds its follow-up REQUEST, dhcp6_makemessage() writes one byte past the fixed stack buffer, corrupting adjacent stack memory and most likely crashing the client (DoS), with theoretical potential for further corruption. No public PoC is currently identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv3 – Jun 25, 2026

Stack out-of-bounds write in dhcpcd (the widely-used DHCP/DHCPv6 client) through version 10.3.2 lets a same-link attacker corrupt client stack memory by replying with a malicious DHCPv6 ADVERTISE. When dhcpcd serializes an oversized RFC6603 OPTION_PD_EXCLUDE body in dhcp6_makemessage(), a one-byte value is written past a fixed 16-byte stack buffer. No public exploit identified at time of analysis; EPSS is low (0.18%, 7th percentile) and the issue is not in CISA KEV, but a vendor fix (commit 2f00c7b) is available.

Earlier versions of this analysis (2)
v2 Jun 25, 2026 - 17:30 cvss changed CVSS 8.7

Stack out-of-bounds write in dhcpcd (a widely used DHCP/DHCPv6 client) versions through 10.3.2 lets an unauthenticated attacker on the same network link corrupt one byte of adjacent stack memory by sending a crafted DHCPv6 ADVERTISE message. The flaw lives in dhcp6_makemessage() when serializing an oversized RFC6603 OPTION_PD_EXCLUDE body, and is triggered when a victim client requesting prefix delegation processes a malicious response. There is no public exploit identified at time of analysis, EPSS risk is low (0.18%, 7th percentile), and CISA SSVC marks exploitation as none, so this is a credible but not yet observed-in-the-wild memory-corruption issue.

v1 Jun 23, 2026 - 17:06 CVSS 6.0

Stack-based one-byte out-of-bounds write in dhcpcd through 10.3.2 allows unauthenticated same-link attackers to corrupt adjacent stack memory by sending a crafted DHCPv6 ADVERTISE message containing an oversized RFC6603 OPTION_PD_EXCLUDE option body. The root cause is an undersized 16-byte local buffer in dhcp6_makemessage() (src/dhcp6.c) that is insufficient when serializing IPv6 prefix exclusion lengths of /121 through /128, producing a confirmed one-byte write past the buffer boundary. No public exploit has been identified at time of analysis and the vulnerability is absent from CISA KEV; however, successful exploitation can corrupt adjacent stack memory, making availability impact the primary concern.

RemediationAI

Update dhcpcd to a release containing the upstream fix, commit 2f00c7b (one-line change enlarging the exb buffer from 16 to 17 bytes); since the public reference is the commit rather than a tagged release, treat this as 'upstream fix available (PR/commit); released patched version not independently confirmed' and pin to your distribution's patched package once published, or build from a tree including 2f00c7b. Until patched, the practical compensating control is to avoid using or accepting DHCPv6 prefix delegation on untrusted links: disable IA_PD requests in dhcpcd.conf (remove 'ia_pd'/prefix-delegation directives) where PD is not needed, which prevents the vulnerable exclude-option serialization path but loses delegated-prefix functionality. Additionally, deploy DHCPv6 guard / RA-Guard on access switches and restrict which hosts may answer DHCPv6 on the segment to blunt rogue-server replies, accepting the operational overhead of maintaining trusted-server allow-lists. Track the VulnCheck advisory (https://www.vulncheck.com/advisories/dhcpcd-stack-out-of-bounds-write-in-dhcp6-makemessage) for a fixed version number.

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 a DHCP and DHCPv6 client used to obtain IPv4/IPv6 addresses and, via DHCPv6 prefix delegation (IA_PD, RFC 3633), to request and re-advertise routable prefixes. The flaw is a CWE-787 out-of-bounds write in src/dhcp6.c. RFC 6603 defines OPTION_PD_EXCLUDE, which encodes an excluded sub-prefix relative to a delegated prefix; dhcpcd reflects the exclude option received in a server ADVERTISE back into its outgoing REQUEST. The vendor diff confirms the root cause precisely: the local serialization buffer was declared uint8_t exb[16] and the fix enlarges it to exb[17], showing that an exclude prefix length in the /121-/128 range produces a serialized body one byte longer than the buffer accommodates, overflowing the fixed-size stack array by a single byte.

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 8.7 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Same-link rogue server needs no auth or interaction (AV:A/AC:L/PR:N/UI:N); single-byte stack write reliably crashes the client (A:H) with limited write control (I:L) and no data disclosure (C:N).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/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
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Jun 25, 2026 - 17:30 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 25, 2026 - 17:30 vuln.today
v2 - CVSS changed
Severity Changed
Jun 25, 2026 - 17:22 NVD
MEDIUM HIGH
CVSS changed
Jun 25, 2026 - 17:22 NVD
6.0 (MEDIUM) 8.7 (HIGH)

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.

Executive ViewAI

Why It Matters

dhcpcd, a widely-deployed DHCP client in Linux systems and network appliances, contains a stack corruption vulnerability allowing local network attackers to execute arbitrary code on affected systems. While no public exploit identified at time of analysis, organizations running vulnerable versions (through 10.3.2) face potential system compromise and lateral movement. A vendor patch is available and should be applied promptly.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
High
default DHCP/DHCPv6 client on many Linux/BSD and embedded/router systems
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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-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

CVE-2026-56114 MEDIUM
6.0 Jun 23

Stack memory corruption in dhcpcd through 10.3.2 exposes systems running the DHCPv6 client to availability disruption fr

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