CVE-2026-56117

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:*

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) dhcpcd hasta la versión 10.3.2, corregido en el commit 78ea09e, contiene una vulnerabilidad de uso después de liberación (use-after-free) en el heap en el manejo del socket de control dentro de src/control.c que permite a atacantes locales sin privilegios desencadenar corrupción de memoria cuando la separación de privilegios está deshabilitada. Los atacantes pueden conectarse al socket de control y enviar un comando privilegiado como -x, lo que provoca que control_recvdata() libere el objeto cliente mientras que el mismo evento READ+HANGUP llega posteriormente a control_hangup() con el puntero obsoleto, lo que resulta en una condición de uso después de liberación (use-after-free) explotable en implementaciones que utilizan --disable-privsep o donde la inicialización de privsep ha fallado con el socket de control operando en modo 0666.

28 Jun 2026, 00:26

Type Values Removed Values Added
First Time Dhcpcd Project
Dhcpcd Project dhcpcd
References () https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34 - () https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34 - Patch
References () https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling - () https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling - Third Party Advisory
CPE cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:*

23 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 17:17

Updated : 2026-10-25 23:10


NVD link : CVE-2026-56117

Mitre link : CVE-2026-56117

CVE.ORG link : CVE-2026-56117


JSON object : View

Products Affected

dhcpcd_project

  • dhcpcd
CWE
CWE-416

Use After Free