Skip to main content

dhcpcd EUVDEUVD-2026-38491

| CVE-2026-56113 MEDIUM
Use After Free (CWE-416)
2026-06-23 VulnCheck GHSA-vh4p-87xg-jc4x
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain same-link network position
  2. Delivery
    Impersonate DHCPv6 server on segment
  3. Exploit
    Wait for or solicit RENEW from dhcpcd client
  4. Execution
    Send crafted RENEW reply with OPTION_PD_EXCLUDE and zero lifetimes
  5. Persist
    Trigger UAF in dhcp6_deprecateaddrs
  6. Impact
    Crash dhcpcd daemon

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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

Exploitation requires the attacker to be on the same Layer-2 network segment as the target host (adjacent network - not remotely exploitable across routed boundaries). The target dhcpcd instance must be configured for DHCPv6 prefix delegation with RFC 6603 OPTION_PD_EXCLUDE support active; this is not a default configuration in most deployments and must be explicitly set up. The attacker must control or impersonate a DHCPv6 server to inject a crafted RENEW reply - rogue DHCP server capabilities or ARP/ND spoofing on the segment are required. Zero-privilege access is required on the attacker side (no authentication to dhcpcd), but LAN-level adjacency is mandatory. Exploitation is limited to denial-of-service (daemon crash); no code execution or data exfiltration path is identified. Environments that do not use DHCPv6 prefix delegation or have disabled IPv6 DHCP are not affected.

Impact

The CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H) scores 6.0, accurately capturing the key signals: adjacent-network requirement and a specific attack target condition (AT:P) reflecting that OPTION_PD_EXCLUDE prefix delegation must be in use - a non-default configuration absent in most deployments. Confidentiality and integrity are both unaffected (VC:N/VI:N); the sole impact is a daemon crash (VA:H). No EPSS data was provided. No CISA KEV entry exists and no standalone proof-of-concept exploit is referenced in the available intelligence, leaving exploitation status as no public exploit identified at time of analysis. The adjacent-network constraint (AV:A) meaningfully limits attacker reach to the same Layer-2 segment, and AT:P further constrains to environments running DHCPv6 with prefix delegation and RFC 6603 support. Collectively, real-world risk is moderate: highest for network infrastructure segments where DHCPv6 PD is actively configured, negligible where IPv6 or PD is absent. The availability-only impact reduces urgency compared to RCE-class flaws, but a recurring daemon crash could facilitate denial-of-service conditions in environments relying on dhcpcd for continuous network connectivity.

Exploit ScenarioDerived

An attacker positioned on the same Layer-2 network segment as a host running dhcpcd with DHCPv6 prefix delegation configured sets up a rogue DHCPv6 server - or performs a DHCPv6 server impersonation via spoofed source addressing. When the legitimate client sends a DHCPv6 RENEW, the attacker responds with a crafted reply including OPTION_PD_EXCLUDE (RFC 6603) and sets both preferred and valid lifetimes to zero, triggering the defective deprecation path inside dhcpcd and crashing the daemon. No exploit code is publicly referenced at time of analysis, but the attack is technically straightforward for an actor with LAN access and familiarity with DHCPv6 packet crafting.

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

Heap use-after-free in dhcpcd through 10.3.2 enables unauthenticated same-link attackers - acting as or impersonating a DHCPv6 server - to crash the daemon by sending a crafted DHCPv6 RENEW reply exploiting a pointer lifecycle flaw in delegated prefix deprecation. The flaw triggers dhcp6_deprecatedele() to free a delegated child address while an outer TAILQ_FOREACH_SAFE iterator in dhcp6_deprecateaddrs() still retains the freed pointer, causing a use-after-free when TAILQ_REMOVE is subsequently reached. Impact is limited to availability (daemon crash); no public exploit or CISA KEV listing exists at time of analysis, but the adjacent-network attack vector and zero-privilege requirement lower the bar for local segment adversaries.

RemediationAI

The primary remediation is to update dhcpcd to a version incorporating upstream commit 5733d3c59a5651f64357ac11c98b4f39895c8d25, available at https://github.com/NetworkConfiguration/dhcpcd/commit/5733d3c59a5651f64357ac11c98b4f39895c8d25. Since no tagged release version superseding 10.3.2 was identified in the provided data, administrators should monitor the upstream repository and their Linux distribution's package tracker for a patched release. As a compensating control where patching is not immediately possible, disabling DHCPv6 prefix delegation (PD) or removing OPTION_PD_EXCLUDE support from the dhcpcd configuration eliminates the vulnerable code path entirely - note this will prevent sub-delegation of prefixes to downstream interfaces. Restricting Layer-2 segment access and deploying DHCPv6 guard or RA guard features on managed switches can reduce the risk from rogue DHCPv6 server attacks, though these controls do not fix the underlying defect. VulnCheck's advisory is available at https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-in-dhcp6-deprecateaddrs-via-dhcpv6-renew for additional context.

Affected VersionsENISA

dhcpcd patch: 5733d3c59a5651f64357ac11c98b4f39895c8d25
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 (cpe:2.3:a:networkconfiguration:dhcpcd:*:*:*:*:*:*:*:*) is a portable DHCP client daemon used across Linux distributions including Arch Linux, Raspberry Pi OS, Alpine Linux, and many embedded platforms. The vulnerability is a CWE-416 (Use After Free) rooted in the DHCPv6 prefix delegation (PD) code path in src/dhcp6.c. RFC 7084 / RFC 3633 prefix delegation allows a DHCPv6 client to request address prefixes for sub-delegation; RFC 6603 OPTION_PD_EXCLUDE refines which prefixes the client must exclude from use. When a RENEW reply carries OPTION_PD_EXCLUDE with both preferred and valid lifetimes set to zero, dhcp6_deprecatedele() is called on the delegated child address and frees it. However, the calling function dhcp6_deprecateaddrs() iterates the address list with TAILQ_FOREACH_SAFE, which caches the 'next' pointer before the loop body runs. When the freed address is then encountered by TAILQ_REMOVE inside the same iteration, the freed heap pointer is dereferenced, triggering the use-after-free. The upstream fix (commit 5733d3c) converts dhcp6_deprecatedele() to return a boolean indicating whether a deletion occurred, then restarts the TAILQ iteration from the beginning (via 'goto again') if any deletion happened, avoiding the dangling pointer entirely.

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 5.3 MEDIUM

Adjacent vector (LAN-only); AC:H because OPTION_PD_EXCLUDE prefix delegation must be actively configured; availability-only impact; no scope change.

3.1 AV:A/AC:H/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.3 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/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 5733d3c, contains a heap use-after-free vulnerability that allows unauthenticated same-link attackers to crash the daemon by sending a crafted DHCPv6 RENEW reply with RFC6603 OPTION_PD_EXCLUDE and both preferred and valid lifetimes set to zero. Attackers acting as or impersonating a DHCPv6 server can trigger dhcp6_deprecatedele() to free a delegated child address while an outer TAILQ_FOREACH_SAFE iterator in dhcp6_deprecateaddrs() still holds the freed pointer, causing a use-after-free when TAILQ_REMOVE is reached.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
common DHCP client in Arch, Alpine, Raspberry Pi OS, embedded Linux
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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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