CVE-2026-56113 dhcpcd Heap Use-After-Free in dhcp6_deprecateaddrs via DHCPv6 RENEW
- 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 5733d3c, contains a heap use-after-free vulnerability that allows unauthenticated same-link attackers to crash the daemon by sending a crafted DHCPv6 RENEW reply with RFC6603 OPTION_PD_EXCLUDE and both preferred and valid lifetimes set to zero. Attackers acting as or impersonating a DHCPv6 server can trigger dhcp6_deprecatedele() to free a delegated child address while an outer TAILQ_FOREACH_SAFE iterator in dhcp6_deprecateaddrs() still holds the freed pointer, causing a use-after-free when TAILQ_REMOVE is reached.
Upgrade path
9 packages: 6 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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 |
| dhcpcd project dhcpcd | <= 10.3.2 | after 10.3.2 | Fixed |
| networkconfiguration/dhcpcd | <= 10.3.2 | after 10.3.2 | Fixed |
Affected products
| Product | Affected versions | Fixed 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 24 more
| Product | Affected versions | Fixed 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 |
| 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
- github.com patch
- www.vulncheck.com third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2491841 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-56113 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking