Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-56114 EUVD-2026-38492GHSA-8q8g-fjv5-5h56

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

Published Jun 23, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
NetworkConfiguration dhcpcd ≤ 10.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dhcpcd 1:10.3.2-4 —
Debian 13 dhcpcd 1:10.1.0-11+deb13u3 —
Debian 12 dhcpcd5 9.4.1-24~deb12u5 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dhcpcd No fix yet —
Ubuntu 25.10 dhcpcd No fix yet —
Ubuntu 24.04 LTS dhcpcd No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 dhcpcd 10.5.2-r0 —
Alpine v3.23 dhcpcd 10.5.2-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dhcpcd 10.0.8-2 —

Advisories 1

References