Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2026-56117dhcpcd Heap Use-After-Free via Control Socket Handling
Medium 4.7
In plain English
A medium-severity use-after-free in dhcpcd from NetworkConfiguration. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | dhcpcd | 10.5.2-r0 | ALPINE-CVE-2026-56117 |
| Alpine:v3.24 | dhcpcd | 10.5.2-r0 | ALPINE-CVE-2026-56117 |
| Debian:13 | dhcpcd | 1:10.1.0-11+deb13u3 | DEBIAN-CVE-2026-56117 |
| Debian:14 | dhcpcd | 1:10.3.2-4 | DEBIAN-CVE-2026-56117 |
| Ubuntu:24.04:LTS | dhcpcd | no fix listed | UBUNTU-CVE-2026-56117 |
| Ubuntu:25.10 | dhcpcd | no fix listed | UBUNTU-CVE-2026-56117 |
| Ubuntu:26.04:LTS | dhcpcd | no fix listed | UBUNTU-CVE-2026-56117 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NetworkConfiguration | dhcpcd | 0 – through 10.3.2 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H