CVEfocus › CVE database › CVE-2026-56117

CVE-2026-56117dhcpcd Heap Use-After-Free via Control Socket Handling

CVSS 4.7 MediumEPSS 0.1% (higher than 1% of CVEs)Published 2026-06-23Updated 2026-07-28Assigner: VulnCheck

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.

CWE-416

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

4Fixed
1Fix pending
2Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dhcpcdUnder investigationUBUNTU-CVE-2026-56117
Ubuntu 25.10dhcpcdWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-56117
Ubuntu 24.04dhcpcdUnder investigationUBUNTU-CVE-2026-56117
Debian 14dhcpcdFixed1:10.3.2-4DEBIAN-CVE-2026-56117
Debian 13dhcpcdFixed1:10.1.0-11+deb13u3DEBIAN-CVE-2026-56117
Red Hat Enterprise Linux 10dhcpcdFix pending
Fix deferred
Alpine Linux 3.24dhcpcdFixed10.5.2-r0ALPINE-CVE-2026-56117
Alpine Linux 3.23dhcpcdFixed10.5.2-r0ALPINE-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.

Vendor advisories:

References

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.