PT-2026-51562 · Dhcpcd · Dhcpcd
CVSS v3.1
6.5
Medium
| Vector | AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
dhcpcd versions prior to 10.3.3
Description
A heap use-after-free issue exists where unauthenticated attackers on the same link can crash the daemon. This occurs when a crafted DHCPv6 RENEW reply is sent containing an RFC6603 OPTION PD EXCLUDE with both preferred and valid lifetimes set to zero. An attacker impersonating a DHCPv6 server can trigger the
dhcp6 deprecatedele() function to free a delegated child address. Because an outer TAILQ FOREACH SAFE iterator in the dhcp6 deprecateaddrs() function still holds the freed pointer, a use-after-free occurs when TAILQ REMOVE is reached.Recommendations
Update to the version containing commit 5733d3c.
Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dhcpcd