CVE-2026-56117dhcpcd Heap Use-After-Free via Control Socket Handling
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dhcpcd | Under investigation | UBUNTU-CVE-2026-56117 | |
| Ubuntu 25.10 | dhcpcd | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-56117 | |
| Ubuntu 24.04 | dhcpcd | Under investigation | UBUNTU-CVE-2026-56117 | |
| Debian 14 | dhcpcd | Fixed | 1:10.3.2-4 | DEBIAN-CVE-2026-56117 |
| Debian 13 | dhcpcd | Fixed | 1:10.1.0-11+deb13u3 | DEBIAN-CVE-2026-56117 |
| Red Hat Enterprise Linux 10 | dhcpcd | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | dhcpcd | Fixed | 10.5.2-r0 | ALPINE-CVE-2026-56117 |
| Alpine Linux 3.23 | dhcpcd | Fixed | 10.5.2-r0 | ALPINE-CVE-2026-56117 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NetworkConfiguration dhcpcd: affected: up to 10.3.2, 78ea09ed1633a583dbcde6e7bab9df4639ec8a34 not affected
Vendor advisories:
References
- https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34
- https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.