CVEvulnerability
CVE-2026-42511
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-149
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.
Affected configurations
• freebsd freebsd 13.5
• freebsd freebsd 14.3
• freebsd freebsd 14.4
• freebsd freebsd 15.0
Related
Weakness · CWE (1)
- CWE-149 Improper Neutralization of Quoting Syntax weakness