Out-of-bounds Write Affecting rsmarples/dhcpcd package, versions [0,10.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (38th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RSMARPLESDHCPCD-17660684
  • published27 Jun 2026
  • disclosed23 Jun 2026
  • creditUnknown

Introduced: 23 Jun 2026

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

How to fix?

Upgrade rsmarples/dhcpcd to version 10.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write via the dhcp6_makemessage function. An attacker can corrupt adjacent stack memory by sending 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, which causes serialization of an oversized RFC6603 OPTION_PD_EXCLUDE option body.

CVSS Base Scores

version 4.0
version 3.1