Out-of-bounds Write Affecting dhcpcd package, versions <10.5.2-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-DHCPCD-19666634
  • published10 Sept 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-56114  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 dhcpcd to version 10.5.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhcpcd package and not the dhcpcd package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1