Improper Neutralization of Special Elements in Output Used by a Downstream Component in FreeBSD - CVE-2026-42511
Published: April 30, 2026
FreeBSD
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements in the lease file handling in dhclient when processing malicious DHCP options from a rogue DHCP server on the same broadcast domain. A remote attacker can send crafted DHCP responses containing a BOOTP file field with embedded double-quotes to execute arbitrary code.
Code execution occurs when the lease file is later re-parsed, such as after a system restart, and attacker-controlled content is passed to dhclient-script(8) for evaluation.