Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-56117 EUVD-2026-38498GHSA-p284-r695-7gxf

dhcpcd Heap Use-After-Free via Control Socket Handling

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

Description

dhcpcd through 10.3.2, fixed in commit 78ea09e, contains a heap use-after-free vulnerability in the control socket handling within src/control.c that allows local unprivileged attackers to trigger memory corruption when privilege separation is disabled. Attackers can connect to the control socket and send a privileged command such as -x, causing control_recvdata() to free the client object while the same READ+HANGUP event subsequently reaches control_hangup() with the stale pointer, resulting in a use-after-free condition exploitable in deployments using --disable-privsep or where privsep initialization has failed with the control socket operating in mode 0666.

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-2 —

Advisories 5

References