Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
8DescriptionCVE.org
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.
AnalysisAI
Remote code execution as root in FreeBSD dhclient allows malicious DHCP servers to inject arbitrary commands via unsanitized BOOTP file field in DHCP responses. When dhclient writes lease data without escaping embedded double-quotes and later re-parses it (e.g., after system restart), injected dhclient.conf directives execute through dhclient-script. EPSS score is notably low (0.02%, 5th percentile) with SSVC indicating no observed exploitation and partial technical impact, suggesting limited real-world targeting despite the high-severity nature of root code execution. No public exploit code identified at time of analysis.
Technical ContextAI
DHCP (Dynamic Host Configuration Protocol) clients like FreeBSD's dhclient receive configuration data from DHCP servers, including the BOOTP file field (typically used for network boot file paths). The vulnerability stems from CWE-149 (Improper Neutralization of Quoting Syntax), where dhclient fails to escape double-quote characters when writing the BOOTP file field to its lease database file. When dhclient subsequently re-parses this lease file-either on daemon restart or system reboot-the maliciously crafted field is interpreted as dhclient.conf configuration directives rather than data. These directives are then passed to dhclient-script, a shell script that executes with root privileges to configure network interfaces. The affected CPE (cpe:2.3:a:freebsd:freebsd) identifies the FreeBSD base system's DHCP client implementation. This is a classic quote injection vulnerability where insufficient input sanitization allows data fields to break out of their intended context and become executable code.
RemediationAI
Apply FreeBSD security patches immediately: upgrade to FreeBSD 13.5-RELEASE-p13, 14.3-RELEASE-p12, 14.4-RELEASE-p3, or 15.0-RELEASE-p7 depending on your major version branch. Patches available through freebsd-update utility or by rebuilding from patched sources as detailed in FreeBSD-SA-26:12.dhclient advisory (https://security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclient.asc). For systems where immediate patching is not feasible, configure static IP addressing to eliminate DHCP client usage entirely-this prevents exploitation but sacrifices automatic network configuration and may complicate mobile device management. Alternatively, restrict DHCP server access via network segmentation and MAC address filtering on switching infrastructure to allow only trusted DHCP servers, though this requires existing network access control infrastructure and does not protect against compromised legitimate servers. Organizations using FreeBSD in untrusted network environments (laptops on public networks) should prioritize patching over mitigations due to the severity of root code execution.
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) wa
The SCTP implementation in FreeBSD 8.2 allows remote attackers to cause a denial of service (NULL pointer dereference an
NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers
Same weakness CWE-149 – Improper Neutralization of Quoting Syntax
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26350