CVE-2026-56114CWE-787

dhcpcd Stack Out-of-Bounds Write in dhcp6_makemessage()

Medium · published June 23, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
18.0
In the wild
Unconfirmed
What it is

dhcpcd through 10.3.2, fixed in commit 2f00c7b, contains a one-byte stack out-of-bounds write vulnerability in dhcp6_makemessage() in src/dhcp6.c that allows unauthenticated same-link attackers to write beyond a fixed local buffer by serializing an oversized RFC6603 OPTION_PD_EXCLUDE option body. Attackers can send a crafted DHCPv6 ADVERTISE message containing an IA_PD IAPREFIX /0 with a valid OPTION_PD_EXCLUDE using an exclude prefix length of /121 through /128 to trigger the out-of-bounds write and potentially corrupt adjacent stack memory.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00269 · 18.0th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-06-23T16:08Z
EPSS history
Timeline
  • 23 JUN 16:08Z
    dhcpcd Stack Out-of-Bounds Write in dhcp6_makemessage()
    cvelistv5