Use After Free Affecting dhcpcd package, versions <10.5.2-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-DHCPCD-19666601
  • published10 Sept 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-56117  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 dhcpcd to version 10.5.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhcpcd package and not the dhcpcd package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1