6.0medium
dhcpcd Stack Out-of-Bounds Write in dhcp6_makemessage()
- Severity
- 6.0medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| NetworkConfiguration dhcpcd | up to 10.3.2 Not affected: 2f00c7bfc408b6582d331932dfa47829c4819029 | CVE List |
| dhcpcd_project dhcpcd | up to 10.3.2 | NVD |
All scores
| VulnCheck | 6.0medium CVSS:4.0 | 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 |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
dhcpcd hasta 10.3.2, corregido en el commit 2f00c7b, contiene una vulnerabilidad de escritura fuera de límites de pila de un byte en dhcp6_makemessage() en src/dhcp6.c que permite a atacantes no autenticados en el mismo enlace escribir más allá de un búfer local fijo serializando un cuerpo de opción RFC6603 OPTION_PD_EXCLUDE sobredimensionado. Los atacantes pueden enviar un mensaje DHCPv6 ADVERTISE manipulado que contiene un IA_PD IAPREFIX /0 con un OPTION_PD_EXCLUDE válido utilizando una longitud de prefijo de exclusión de /121 a /128 para activar la escritura fuera de límites y potencialmente corromper la memoria de pila adyacente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56114 changed 2026-07-28 | CVE Terms of Use |
| NVD | CVE-2026-56114 changed 2026-10-25 | Public domain |