What’s Vulnerable › Vulnerabilities
CVE-2026-42511: Remote code execution via malicious DHCP options
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-30 · updated 2026-06-17
- Weakness: CWE-149
Description
The BOOTP file field is written to the lease file without escaping embedded double-quotes, allowing injection of arbitrary dhclient.conf directives. When the lease file is subsequently re-parsed by dhclient, e.g., after a system restart, an attacker-controlled field from the lease is passed to dhclient-script(8), which evaluates it. A rogue DHCP server may be able to execute arbirary code as root on a system running dhclient.
Affected products
- FreeBSD: 13.5, 13.5-beta3, 13.5-p1, 13.5-p10, 13.5-p11, 13.5-p12 (+31)
References
Get alerted when CVE-2026-42511 or the next vulnerability affects your stack