CVE-2026-56113
JSON

6.0medium

dhcpcd Heap Use-After-Free in dhcp6_deprecateaddrs via DHCPv6 RENEW

Severity
6.0medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

dhcpcd through 10.3.2, fixed in commit 5733d3c, contains a heap use-after-free vulnerability that allows unauthenticated same-link attackers to crash the daemon by sending a crafted DHCPv6 RENEW reply with RFC6603 OPTION_PD_EXCLUDE and both preferred and valid lifetimes set to zero. Attackers acting as or impersonating a DHCPv6 server can trigger dhcp6_deprecatedele() to free a delegated child address while an outer TAILQ_FOREACH_SAFE iterator in dhcp6_deprecateaddrs() still holds the freed pointer, causing a use-after-free when TAILQ_REMOVE is reached.

Affected

Product or packageVersionsReported by
NetworkConfiguration dhcpcdup to 10.3.2
Not affected: 5733d3c59a5651f64357ac11c98b4f39895c8d25
CVE List
dhcpcd_project dhcpcdup to 10.3.2NVD

All scores

VulnCheck6.0medium CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.3medium CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

dhcpcd through 10.3.2, fixed in commit 5733d3c, contains a heap use-after-free vulnerability that allows unauthenticated same-link attackers to crash the daemon by sending a crafted DHCPv6 RENEW reply with RFC6603 OPTION_PD_EXCLUDE and both preferred and valid lifetimes set to zero. Attackers acting as or impersonating a DHCPv6 server can trigger dhcp6_deprecatedele() to free a delegated child address while an outer TAILQ_FOREACH_SAFE iterator in dhcp6_deprecateaddrs() still holds the freed pointer, causing a use-after-free when TAILQ_REMOVE is reached.

NVD (es)

dhcpcd hasta la versión 10.3.2, corregido en el commit 5733d3c, contiene una vulnerabilidad de uso después de liberación en el heap que permite a atacantes no autenticados en el mismo enlace bloquear el demonio enviando una respuesta DHCPv6 RENEW manipulada con RFC6603 OPTION_PD_EXCLUDE y con ambas duraciones preferida y válida establecidas a cero. Atacantes que actúan como o suplantan a un servidor DHCPv6 pueden activar dhcp6_deprecatedele() para liberar una dirección secundaria delegada mientras un iterador TAILQ_FOREACH_SAFE externo en dhcp6_deprecateaddrs() aún mantiene el puntero liberado, causando un uso después de liberación cuando se alcanza TAILQ_REMOVE.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56113 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-56113 changed 2026-10-25Public domain