Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-56113 EUVD-2026-38491GHSA-vh4p-87xg-jc4x

dhcpcd Heap Use-After-Free in dhcp6_deprecateaddrs via DHCPv6 RENEW

Published Jun 23, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
NetworkConfiguration dhcpcd ≤ 10.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dhcpcd 1:10.3.2-4 —
Debian 13 dhcpcd 1:10.1.0-11+deb13u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dhcpcd No fix yet —
Ubuntu 25.10 dhcpcd No fix yet —
Ubuntu 24.04 LTS dhcpcd No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 dhcpcd 10.5.0-160000.1.1 SUSE-SU-2026:23562-1
SLES 16.0 dhcpcd 10.5.0-160000.1.1 SUSE-SU-2026:23562-1
SLE Micro 6.2 dhcpcd 10.5.0-160000.1.1 SUSE-SU-2026:23400-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dhcpcd 10.5.0-1.1 openSUSE-SU-2026:11473-1
openSUSE Leap 16.0 dhcpcd 10.5.0-160000.1.1 openSUSE-SU-2026:21692-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dhcpcd 10.5.2-r0 —
Alpine v3.23 dhcpcd 10.5.2-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dhcpcd 10.0.8-4 —

Advisories 5

References