# CVE-2026-42511: Remote code execution via malicious DHCP options

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-04-30T06:56:36.929Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-149
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

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

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.0-RELEASE before p7; from 14.4-RELEASE before p3; from 14.3-RELEASE before p12; from 13.5-RELEASE before p13; 13.5; 14.3; 14.4; 15.0

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-42511](https://www.cve.org/CVERecord?id=CVE-2026-42511), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-42511](https://nvd.nist.gov/vuln/detail/CVE-2026-42511), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42511 · Whole record: https://cve.day/CVE-2026-42511.json · Rebuilt by cve.day 2026-11-25T22:59:20.262Z
