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.
{
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56117.json",
"cna_assigner": "VulnCheck"
}{
"cpe": "cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "10.3.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
[
{
"target": {
"function": "control_recvdata",
"file": "src/control.c"
},
"id": "CVE-2026-56117-1550f410",
"signature_type": "Function",
"digest": {
"function_hash": "30665076437582413154610109046224715519",
"length": 937.0
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"file": "src/privsep-control.c"
},
"id": "CVE-2026-56117-6a8e8392",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"304370523648041404047810095483057266416",
"112643596218417110436226758176183826972",
"256132686304579955189597399639954446409",
"189721698018038900566037010992004691531",
"252653526298248649850720066574043147608",
"85735261469830735859405660553437410263",
"17591820830228821156756814928928559154",
"222188765133158313984809322290663194803"
]
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"function": "control_handle_read",
"file": "src/control.c"
},
"id": "CVE-2026-56117-726557d5",
"signature_type": "Function",
"digest": {
"function_hash": "105169968804789044052030225171588060692",
"length": 685.0
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"file": "src/control.h"
},
"id": "CVE-2026-56117-7e3a9072",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"292631727150257082732320891101947107792",
"18854740744478829169379194784774919217"
]
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"file": "src/control.c"
},
"id": "CVE-2026-56117-7ebf0d05",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"302711286260322939303136564649170948470",
"209391935812902456629196319662702605645",
"283824720169069741346760221490603153566",
"15529641396289263726963515045617581155",
"286164242918564162612985177872395989700",
"225463417948978504140185435082325219111",
"235830798385811534946716541503465421446",
"120541811190776650801895581670177875319",
"338174302935373644558917478834332243573",
"129522336854596328161028750890691085973",
"208890587684199868702561071243337015233",
"297295444819886776360825326696600298970",
"281299114440421253739314820631998153108",
"34640212144680866237907179714035863224",
"66034038455055283348936460300310147819",
"326279541571763941172882820987611782961",
"188677540648595946408526239814204279295",
"93608017027556889200588356982077922556",
"66763968228103140767802547336805030459",
"182398018157518835903401147400210413389",
"172019367256567295890215060961945434610",
"99196896255088440646810112702178343028",
"263669399054012136534247817437546632433",
"177947482186007919103452647577452870068",
"30962430013767440357385559790068400496",
"143928277832734695611403049014038438511",
"210685058252905129820932680936554972082",
"200532540656170979646393638888546771622",
"75456249938699936718504899542714432712",
"156108367594828507003655815917457486547",
"83975113963284803852551611439014369277",
"177628413937751570863754455572457092960",
"277506570007174431977608415294171726835",
"279044788486821855719991005377932913736",
"208233348434675371280672654405390021911",
"212732809248545040738478888129139820914",
"35793913859967181909770608457242140863",
"331599498941483900517458939451052485563",
"74659404814298399878006284193240014099",
"192856331888594632629745606070674733401",
"175787169908705231976806139644660627172",
"93101884927672384265750149709588653813",
"150657233818902117266454857809174839855",
"92468734271021577526152641221214988092",
"251229629271610280439403323989763141882",
"302041525277210792679770417486905743435",
"21868305679449107772397541905391977980",
"174708121024427643578270079042469656199",
"9487556864791192204637138793955011078",
"177335164865062796754288727948369458014",
"293949540968280903538352693917672011553",
"108587633537507210242609878158511307392",
"58199349692808166832952237426572549626",
"45080600947383915051920825315021225419"
]
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"function": "control_handle_data",
"file": "src/control.c"
},
"id": "CVE-2026-56117-91ffa2aa",
"signature_type": "Function",
"digest": {
"function_hash": "285046906503227143625369167537145057496",
"length": 421.0
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
},
{
"target": {
"function": "ps_ctl_dispatch",
"file": "src/privsep-control.c"
},
"id": "CVE-2026-56117-d507326f",
"signature_type": "Function",
"digest": {
"function_hash": "338103616939191026331902864038405703076",
"length": 814.0
},
"signature_version": "v1",
"source": "https://github.com/networkconfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34",
"deprecated": false
}
]
"2026-08-12T16:41:25Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56117.json"