CVE-2026-42511

published 30 Apr 2026 · updated 11 Nov 2026

Remote code execution via malicious DHCP options

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p13, p12, p3 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSDfreebsd=13.5, =14.3, =14.4, =15.0
FreeBSD>=13.5-RELEASE <p13, >=14.3-RELEASE <p12, >=14.4-RELEASE <p3, >=15.0-RELEASE <p7p13, p12, p3, p7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42511 severity on Zeptric[![CVE-2026-42511](https://zeptric.io/badge/cve/CVE-2026-42511.svg)](https://zeptric.io/cve/CVE-2026-42511)