{"id":"CVE-2026-56117","published":"2026-06-23T16:14:31Z","modified":"2026-07-28T01:49:44Z","title":"dhcpcd Heap Use-After-Free via Control Socket Handling","vendor":"NetworkConfiguration","product":"dhcpcd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.01462,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling","tags":["third-party-advisory"]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":0.29},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"networkconfiguration","affectedVersions":[{"vendor":"NetworkConfiguration","product":"dhcpcd","versions":["<= 10.3.2"]}],"fixedVersions":[{"vendor":"NetworkConfiguration","product":"dhcpcd","versions":["78ea09ed1633a583dbcde6e7bab9df4639ec8a34"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T13:43:04.591782Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38498","exploited":false,"provenance":"source"}}