MEDIUM 6.5

CVE-2026-56116: dhcpcd IPv6 Router Advertisement Memory Leak DoS

dhcpcd, a widely-used DHCP client daemon on Unix-like systems, contains a memory leak flaw in how it processes IPv6 Router Advertisements. An attacker on the same network link can repeatedly send specially crafted Router Advertisements to exhaust the daemon's memory, eventually crashing it and disrupting network connectivity. The attacker needs no credentials and the traffic stays local to the link, making this a concern primarily for shared networks or systems where untrusted devices can reach the same link segment.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.5 MEDIUM · CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-401
Affected products
1 configuration(s)
Published / Modified
2026-06-23 / 2026-07-14

NVD description (verbatim)

dhcpcd through 10.3.2, fixed in commit 708b4a5, contains a memory leak vulnerability in the IPv6 Router Advertisement route information handling that allows an unauthenticated same-link attacker to cause denial of service by sending crafted Router Advertisements. Attackers can repeatedly send Router Advertisements containing Route Information options with a lifetime of zero, triggering unfreed allocations in routeinfo_findalloc() that cause linear memory exhaustion and eventual daemon crash.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in the routeinfo_findalloc() function within dhcpcd's IPv6 Router Advertisement handling. When processing Route Information options with a lifetime value of zero, the daemon fails to properly free previously allocated memory structures. By sending a stream of such crafted Router Advertisements, an attacker triggers cumulative memory allocations that are never deallocated, leading to linear memory consumption until the process exhausts available memory and terminates. The flaw affects versions through 10.3.2 and was corrected in commit 708b4a5.

Business impact

Affected systems lose IPv6 connectivity and DHCP services when dhcpcd crashes, disrupting both IPv4 and IPv6 network operations depending on the configuration. For environments relying on automated DHCP address assignment—particularly cloud infrastructure, enterprise networks, and IoT deployments—this denial-of-service condition can cascade into service unavailability. Repeated crashes may also trigger rate-limiting or lockout mechanisms if the daemon is monitored and auto-restarted.

Affected systems

dhcpcd versions through 10.3.2 running on systems that handle Router Advertisements and accept untrusted network traffic on the same link. This includes Linux distributions bundling dhcpcd as the primary DHCP client, embedded systems, and network appliances. Systems isolated from untrusted peers or running patched versions (incorporating commit 708b4a5 or later) are unaffected.

Exploitability

Exploitation requires the attacker to be on the same network link segment as the target, meaning they must share a direct layer-2 connection or be able to inject frames into the target's broadcast domain. No authentication is needed and the attack is trivial to execute: sending malformed Router Advertisements can be accomplished with standard IPv6 tools or simple scripting. The barrier to entry is low, though impact is limited to local networks. The CVSS score of 6.5 (MEDIUM) reflects the high availability impact but low scope (same-link only) and lack of confidentiality or integrity consequences.

Remediation

Apply patches incorporating the fix from commit 708b4a5 or later. Verify the exact patched version number against your vendor's advisory, as different Linux distributions may package the fix at different release versions. For systems unable to patch immediately, restrict network access to trusted peers only, implement link-layer filtering to reject Router Advertisements from unknown sources, or disable IPv6 if not required. Monitor dhcpcd process restarts and memory usage as a temporary detection mechanism.

Patch guidance

Contact your Linux distribution maintainer or dhcpcd project repository for the specific patched version incorporating commit 708b4a5. Ubuntu, Debian, Fedora, and other distributions will release updates through their standard package management systems. Verify patch availability by checking the vendor advisory and testing in a non-production environment before rolling out to production. Document the patched version and commit hash for audit purposes.

Detection guidance

Monitor system logs for repeated dhcpcd crashes or restarts, particularly those coinciding with IPv6 Router Advertisement activity. Use packet capture on the link to identify an unusually high volume of Router Advertisements with Route Information options and zero lifetimes from suspicious sources. Watch memory usage of the dhcpcd process for linear growth patterns that do not stabilize. A spike in RA packets followed by process termination is a strong indicator of exploitation.

Why prioritize this

This vulnerability is a same-link denial-of-service that requires network adjacency to exploit, placing it in the medium-risk category for most environments. However, organizations with shared or untrusted network segments—such as conference networks, cloud multi-tenant environments, or systems with numerous IoT/guest devices—should prioritize patching. The trivial exploitability and crash-to-recovery cycle make it a nuisance vector that warrants prompt but not emergency response for isolated corporate networks.

Risk score, explained

The CVSS 6.5 MEDIUM score (AV:A/AC:L/PR:N/UI:N/S:U) reflects: (1) Attack Vector Adjacent (A) — attacker must be on the same link; (2) Low Complexity (L) — no special conditions or timing; (3) No Privileges (N) — unauthenticated; (4) No User Interaction (N) — automatic exploitation; (5) Unchanged Scope (U) — impact limited to the affected component only. Availability impact is High (A:H) because the daemon crashes, but Confidentiality and Integrity are None. The CVSS does not account for detection or remediation ease, which should factor into local prioritization decisions.

Frequently asked questions

Can this vulnerability be exploited over the Internet?

No. The attacker must be on the same network link segment as the target. Layer-3 routers will not forward malicious Router Advertisements, so remote attackers cannot reach the target. This limits risk to local environments with untrusted peers.

What happens if dhcpcd crashes repeatedly—will my system lose all connectivity?

IPv6 connectivity will be interrupted while dhcpcd is crashed. If it is configured to auto-restart (common in managed systems), the cycle repeats and creates an effective denial of service. IPv4 connectivity from other DHCP clients may remain unaffected depending on system configuration.

How can I tell if my system is vulnerable?

Check your installed dhcpcd version with 'dhcpcd --version'. If it reports version 10.3.2 or earlier, you are vulnerable. Verify the installed version against your distribution's package repository or the upstream project to confirm whether the fix has been backported.

Is there a workaround if I cannot patch immediately?

Disable IPv6 on interfaces that do not require it, restrict link-layer access to trusted devices only, or use firewall rules to drop Router Advertisements from untrusted sources. These are temporary measures; patching remains the recommended permanent solution.

This analysis is based on publicly available vulnerability data and vendor advisories as of the publication date. Versions, patch status, and availability may vary by distribution and deployment. Always verify patch applicability and test updates in a non-production environment before deployment. SEC.co does not provide real-time threat intelligence or incident response services; consult your security team or vendor for guidance specific to your environment. This information is provided for educational and risk-management purposes and should not be construed as legal or compliance advice. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).