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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | dhcpcd | No fix yet | — |
| Ubuntu 25.10 | dhcpcd | No fix yet | — |
| Ubuntu 24.04 LTS | dhcpcd | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | dhcpcd | 10.5.2-r0 | — |
| Alpine v3.23 | dhcpcd | 10.5.2-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | dhcpcd | 10.0.8-2 | — |
Advisories 1
- WID-SEC-2026-2046 dhcpcd: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Oct 29, 2026