{"id":"CVE-2026-56117","aliases":["CVE-2026-56117"],"related":[],"kind":"vulnerability","state":"published","title":"dhcpcd Heap Use-After-Free via Control Socket Handling","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-23T16:14:31.918Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.7,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"10.3.2","status":"affected"},{"type":"git","version":"78ea09ed1633a583dbcde6e7bab9df4639ec8a34","status":"unaffected"}],"vendor":"NetworkConfiguration","product":"dhcpcd","repo":"https://github.com/NetworkConfiguration/dhcpcd","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"10.3.2"}],"vendor":"dhcpcd_project","product":"dhcpcd","cpe":"cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["CuB3y0nd","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-24T13:43:04.591Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56117","url":"https://www.cve.org/CVERecord?id=CVE-2026-56117","licence":"CVE Terms of Use","modified":"2026-07-28T01:49:44.651Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56117","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56117","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.491Z","epss":{"score":0.00093,"percentile":0.00591,"date":"2026-12-01T12:00:22.000Z"}}