# CVE-2026-42511

> Vulnerability · severity: **HIGH** (CVSS 8.1).

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

## Key facts

- **CVE ID:** CVE-2026-42511
- **Published:** 2026-04-30
- **CVSS severity:** HIGH
- **CVSS base score:** 8.1
- **CWE codes:** CWE-149

## Affected products

- `freebsd:freebsd`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-42511

## Citation

> AI Analytics. CVE-2026-42511. Retrieved 2026-07-23 from https://api.ai-analytics.org/cve/CVE-2026-42511. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*