Skip to main content
← All vulnerabilities
CVE-2026-42511

Remote code execution via malicious DHCP options

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p7, p3, p12, p13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.0-RELEASE · fixed in p7; From 14.4-RELEASE · fixed in p3; From 14.3-RELEASE · fixed in p12; From 13.5-RELEASE · fixed in p13

References 1

security.freebsd.org