CVE-2026-42511 | Remote code execution via malicious DHCP options

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.

Published: 2026-04-30 Last update: 2026-05-01 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-42511 is rated Low Risk (36/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-42511

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-22 0.06% 0.03% -0.02%
2 2026-05-06 0.02% 0.06% +0.04%
3 2026-04-30 0.02%

Full EPSS history (3 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-42511

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2026-42511

GitHub Security Advisory for CVE-2026-42511

GHSA-xg3v-hpwh-q32x · Severity: high — The BOOTP file field is written to the lease file without escaping embedded double-quotes,...

Affected software / configurations for CVE-2026-42511

Vendor Product Version Raw CPE
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:-:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:beta3:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p1:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p10:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p11:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p12:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p2:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p3:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p4:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p5:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p6:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p7:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p8:*:*:*:*:*:*
freebsd freebsd 13.5 cpe:2.3:o:freebsd:freebsd:13.5:p9:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:-:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p1:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p10:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p11:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p2:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p3:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p4:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p5:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p6:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p7:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p8:*:*:*:*:*:*
freebsd freebsd 14.3 cpe:2.3:o:freebsd:freebsd:14.3:p9:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:-:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:p1:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:p2:*:*:*:*:*:*
freebsd freebsd 14.4 cpe:2.3:o:freebsd:freebsd:14.4:rc1:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:-:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p1:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p2:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p3:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p4:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p5:*:*:*:*:*:*
freebsd freebsd 15.0 cpe:2.3:o:freebsd:freebsd:15.0:p6:*:*:*:*:*:*

References for CVE-2026-42511

cvelogic Threat Intelligence