Junglewise Threat Intelligence

CVE-2026-56114: NetworkConfiguration dhcpcd stack out-of-bounds write in dhcp6_makemessage

CVE-2026-56114 · Severity: medium · CVSS 5.3 · Published 2026-06-23

Technologies: NetworkConfiguration Dhcpcd.

Executive brief

A vulnerability exists in dhcpcd, a common tool used by computers to automatically obtain network addresses. An attacker on the same local network can send a specially crafted network message to crash the service or potentially interfere with the system's memory. This could lead to a loss of network connectivity for the affected device.

Technical details

A one-byte stack-based out-of-bounds write exists in src/dhcp6.c within the dhcp6_makemessage() function. The root cause is an off-by-one error where a fixed 16-byte local buffer (exb) is insufficient to hold a serialized RFC6603 OPTION_PD_EXCLUDE body, which can be up to 17 bytes. An unauthenticated attacker on the same layer-2 adjacency can exploit this by sending a crafted DHCPv6 ADVERTISE message containing an IA_PD IAPREFIX /0 with an exclude prefix length between /121 and /128. This results in a single-byte overwrite of adjacent stack memory, which can lead to a crash (DoS). The issue is fixed in commit 2f00c7b by increasing the buffer size to 17 bytes.

Affected products

  • NetworkConfiguration dhcpcd through 10.3.2

Timeline

  • 2026-06-23: disclosed
  • 2026-06-23: advisory

References