BreachSpiderVerified, not vibes

CVE-2026-42511 in Freebsd

High 8.1

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), w...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
EPSS0.4%
EPSS percentile28th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Freebsd Freebsd 13.5 14.3 14.4 15.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42511
BreachSpider IDBS-2026-GLOBAL-152832-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-04-30
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-149: CWE-149

Related attack patterns (CAPEC)

CAPEC-468 Generic Cross-Browser Cross-Domain Theft via CWE-149

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the BOOTP file field handling in dhclient allows for the injection of arbitrary dhclient.conf directives via a rogue DHCP server, potentially leading to arbitrary code execution as root.

The vulnerability arises from the lack of proper escaping of double-quotes in the BOOTP file field before writing it to the lease file. An attacker can exploit this by setting a malicious BOOTP file field in a DHCP response, which is then written to the lease file and re-parsed by dhclient, leading to the execution of arbitrary code.

Questions

What is CVE-2026-42511?

A vulnerability in the BOOTP file field handling in dhclient allows for the injection of arbitrary dhclient.conf directives via a rogue DHCP server, potentially leading to arbitrary code execution as root.

What is the CVSS score for CVE-2026-42511?

CVE-2026-42511 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2026-42511 actively exploited?

No confirmed active exploitation of CVE-2026-42511 as of 2026-11-12.

How do I remediate CVE-2026-42511?

Priority: IMMEDIATE. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc PSIRT: [email protected]

What systems are affected by CVE-2026-42511?

CVE-2026-42511 affects Freebsd Freebsd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.