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.
Metrics
Affected Vendors & Products
References
History
Thu, 30 Apr 2026 13:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Thu, 30 Apr 2026 08:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Freebsd
Freebsd freebsd |
|
| Vendors & Products |
Freebsd
Freebsd freebsd |
Thu, 30 Apr 2026 07:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Remote code execution via malicious DHCP options | |
| Weaknesses | CWE-149 | |
| References |
|
Status: PUBLISHED
Assigner: freebsd
Published:
Updated: 2026-04-30T13:06:53.628Z
Reserved: 2026-04-28T05:31:44.956Z
Link: CVE-2026-42511
Updated: 2026-04-30T13:06:50.212Z
Status : Awaiting Analysis
Published: 2026-04-30T07:16:37.290
Modified: 2026-04-30T15:13:14.230
Link: CVE-2026-42511
No data.
OpenCVE Enrichment
Updated: 2026-04-30T08:20:16Z