CVE-2026-42511
Last modified
CVE-2026-42511 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | 13.5 |
| Freebsd | Freebsd | 14.3 |
| Freebsd | Freebsd | 14.4 |
| Freebsd | Freebsd | 15.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-42511?
How severe is CVE-2026-42511?
How do I fix CVE-2026-42511?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42506Parsing arbitrary HTML which is then rendered using Render c…6.1
- CVE-2026-42507When returning errors, functions in the net/textproto packag…5.3
- CVE-2026-42508Previously, a revoked 'SignatureKey' belonging to a CA was n…9.1
- CVE-2026-42509Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-4251A vulnerability was determined in CityData CityChat up to 0.…2.5
- CVE-2026-42510OpenStack Ironic before 35.0.1 allows ipmitool execution in …7.2
- CVE-2026-42512As dhclient is building an environment to pass to dhclient-s…8.1
- CVE-2026-42513This vulnerability exists in e-Sushrut due to improper authe…8.8
- CVE-2026-42514This vulnerability exists in e-Sushrut due to exposure of OT…8.8
- CVE-2026-42515This vulnerability exists in e-Sushrut due to improper acces…7.1
- CVE-2026-42516This vulnerability exists in e-Sushrut due to improper autho…7.1
- CVE-2026-42517This vulnerability exists in e-Sushrut due to the use of rev…7.1
Are you affected by CVE-2026-42511?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
