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

Published Jun 23, 2026
·
Updated

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 controlrecvdata() to free the client object while the same READ+HANGUP event subsequently reaches controlhangup() 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 Software

2 affected components
dhcpcd dhcpcd<=10.3.2
Dhcpcd Project Dhcpcd<=10.3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade dhcpcd to a version that resolves this vulnerability.

    Patch 78ea09e

Event History

Jun 23, 2026
CVE Published
via MITRE·04:14 PM
Data Sourced
via MITRE·04:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-56117?

CVE-2026-56117 has a medium severity rating of 5.7.

2

How do I fix CVE-2026-56117?

To fix CVE-2026-56117, you should update dhcpcd to version 10.3.3 or later, which includes the security fix.

3

What type of vulnerability is CVE-2026-56117?

CVE-2026-56117 is a heap use-after-free vulnerability that affects the control socket handling in dhcpcd.

4

Who can exploit CVE-2026-56117?

CVE-2026-56117 can be exploited by local unprivileged attackers if privilege separation is disabled.

5

What impact does CVE-2026-56117 have?

The impact of CVE-2026-56117 includes potential memory corruption, which can lead to denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203