{"id":"CVE-2026-56117","state":"PUBLISHED","title":"dhcpcd Heap Use-After-Free via Control Socket Handling","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.","publishedAt":"2026-06-23T16:14:31.918Z","updatedAt":"2026-07-28T01:49:44.651Z","severity":{"score":5.7,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["NetworkConfiguration dhcpcd"],"affected":[{"vendor":"NetworkConfiguration","product":"dhcpcd","packageURL":"pkg:github/NetworkConfiguration/dhcpcd","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"10.3.2","versionType":"semver"},{"version":"78ea09ed1633a583dbcde6e7bab9df4639ec8a34","status":"unaffected","versionType":"git"}],"repo":"https://github.com/NetworkConfiguration/dhcpcd"}],"references":["https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34","https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56117.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56117","state":"PUBLISHED","datePublished":"2026-06-23T16:14:31.918Z","dateUpdated":"2026-07-28T01:49:44.651Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-18T19:15:10.651Z"},"containers":{"cna":{"title":"dhcpcd Heap Use-After-Free via Control Socket Handling","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"NetworkConfiguration","product":"dhcpcd","packageURL":"pkg:github/NetworkConfiguration/dhcpcd","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"10.3.2","versionType":"semver"},{"version":"78ea09ed1633a583dbcde6e7bab9df4639ec8a34","status":"unaffected","versionType":"git"}],"repo":"https://github.com/NetworkConfiguration/dhcpcd"}],"references":[{"url":"https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/dhcpcd-heap-use-after-free-via-control-socket-handling","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"MEDIUM","baseScore":4.7,"vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:49:44.651Z"},"tags":["x_open-source"],"datePublic":"2026-06-22T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:*","versionEndIncluding":"10.3.2"}]}]}],"credits":[{"lang":"en","value":"CuB3y0nd","type":"finder"},{"lang":"en","value":"VulnCheck","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T13:43:04.591782Z","id":"CVE-2026-56117","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-24T13:43:25.658Z"}}]}}}