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

- Severity: Medium 5.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-06-23T16:14:31.918Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- NetworkConfiguration dhcpcd: up to 10.3.2 (not affected: 78ea09ed1633a583dbcde6e7bab9df4639ec8a34)
- dhcpcd_project dhcpcd: up to 10.3.2

## Every score

- VulnCheck: CVSS:4.0 5.7 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34> (patch)
- <https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-56117](https://www.cve.org/CVERecord?id=CVE-2026-56117), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-56117](https://nvd.nist.gov/vuln/detail/CVE-2026-56117), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56117 · Whole record: https://cve.day/CVE-2026-56117.json · Rebuilt by cve.day 2026-11-25T22:59:25.491Z
