Skip to content

CVE-2026-56114 dhcpcd Stack Out-of-Bounds Write in dhcp6_makemessage()

MediumCVSS 6.0 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

10 packages: 7 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat/dhcpcd(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
ubuntu/dhcpcd(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/dhcpcd(Ubuntu 26.04) All versions No fix listed No fix yet
alpine/dhcpcd(Alpine v3.23) < 10.5.2-r0 10.5.2-r0 Fixed
alpine/dhcpcd(Alpine v3.24) < 10.5.2-r0 10.5.2-r0 Fixed
debian/dhcpcd(Debian 13) < 1:10.1.0-11+deb13u3; = 1:10.1.0-11; = 1:10.1.0-11+deb13u1; = 1:10.1.0-11+deb13u2 1:10.1.0-11+deb13u3 Fixed
debian/dhcpcd(Debian 14) < 1:10.3.2-4; = 1:10.1.0-11; = 1:10.1.0-12; = 1:10.2.0-1 +34 more 1:10.3.2-4 Fixed
debian/dhcpcd5(Debian 12) < 9.4.1-24~deb12u5; = 9.4.1-22; = 9.4.1-23; = 9.4.1-24~deb12u1 +3 more 9.4.1-24~deb12u5 Fixed
dhcpcd project dhcpcd <= 10.3.2 after 10.3.2 Fixed
networkconfiguration/dhcpcd <= 10.3.2 after 10.3.2 Fixed

Affected products

ProductAffected versionsFixed in
networkconfiguration/dhcpcd <= 10.3.2 No fix listed
redhat/dhcpcd(Red Hat:enterprise_linux:10) All versions No fix listed
debian/dhcpcd(Debian:13) < 1:10.1.0-11+deb13u3 1:10.1.0-11+deb13u3
debian/dhcpcd(Debian:13) = 1:10.1.0-11 No fix listed
debian/dhcpcd(Debian:13) = 1:10.1.0-11+deb13u1 No fix listed
debian/dhcpcd(Debian:13) = 1:10.1.0-11+deb13u2 No fix listed
debian/dhcpcd(Debian:14) < 1:10.3.2-4 1:10.3.2-4
debian/dhcpcd(Debian:14) = 1:10.1.0-11 No fix listed
debian/dhcpcd(Debian:14) = 1:10.1.0-12 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.0-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-2 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-3 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-4 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-5 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.2-6 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.3-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.4-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.4-2 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.4-3 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.4-4 No fix listed
debian/dhcpcd(Debian:14) = 1:10.2.4-4~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-2 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-2~bpo13+1 No fix listed
Show 31 more
ProductAffected versionsFixed in
debian/dhcpcd(Debian:14) = 1:10.3.0-3 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-3~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-4 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-5 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-6 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-7 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.0-7~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-1~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-2 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-3 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-4 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-5 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.1-5~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.2-1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.2-2 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.2-3 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.2-3~bpo13+1 No fix listed
debian/dhcpcd(Debian:14) = 1:10.3.2-4~bpo13+1 No fix listed
debian/dhcpcd5(Debian:12) < 9.4.1-24~deb12u5 9.4.1-24~deb12u5
debian/dhcpcd5(Debian:12) = 9.4.1-22 No fix listed
debian/dhcpcd5(Debian:12) = 9.4.1-23 No fix listed
debian/dhcpcd5(Debian:12) = 9.4.1-24~deb12u1 No fix listed
debian/dhcpcd5(Debian:12) = 9.4.1-24~deb12u2 No fix listed
debian/dhcpcd5(Debian:12) = 9.4.1-24~deb12u3 No fix listed
debian/dhcpcd5(Debian:12) = 9.4.1-24~deb12u4 No fix listed
alpine/dhcpcd(Alpine:v3.23) < 10.5.2-r0 10.5.2-r0
alpine/dhcpcd(Alpine:v3.24) < 10.5.2-r0 10.5.2-r0
ubuntu/dhcpcd(Ubuntu:24.04) All versions No fix listed
ubuntu/dhcpcd(Ubuntu:26.04) All versions No fix listed
dhcpcd project dhcpcd <= 10.3.2 No fix listed

References