Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42511— Remote code execution via malicious DHCP options

Quick assessment

Affected
FreeBSD FreeBSD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeBSD是FreeBSD基金会的一套类Unix操作系统。 FreeBSD存在安全漏洞,该漏洞源于BOOTP文件字段在写入租约文件时未转义嵌入的双引号,允许注入任意dhclient.conf指令,可能导致恶意DHCP服务器在系统上以root权限执行任意代码。

AI Predicted 9.8 Difficulty: Trivial EPSS 0.40% · P32

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 4

VendorProduct Version RangeStatus
FreeBSD FreeBSD 15.0-RELEASE< p7 affected
14.4-RELEASE< p3 affected
14.3-RELEASE< p12 affected
13.5-RELEASE< p13 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42511

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Remote code execution via malicious DHCP options
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
引号语法转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
FreeBSD 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeBSD是FreeBSD基金会的一套类Unix操作系统。 FreeBSD存在安全漏洞,该漏洞源于BOOTP文件字段在写入租约文件时未转义嵌入的双引号,允许注入任意dhclient.conf指令,可能导致恶意DHCP服务器在系统上以root权限执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeBSD FreeBSD 15.0-RELEASE ~ p7 -

II. Public POCs for CVE-2026-42511

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42511

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-42511 (1)

Same Patch Batch · FreeBSD · 2026-04-30 · 6 CVEs total

CVE-2026-7164 pf can overflow the stack parsing crafted SCTP packets
CVE-2026-7270 Local privilege escalation via execve()
CVE-2026-42512 Remotely triggerable out-of-bounds heap write in dhclient
CVE-2026-35547 Heap overflow in libnv
CVE-2026-39457 Stack overflow via select() file descriptor set overflow

IV. Related Vulnerabilities

V. Comments for CVE-2026-42511

No comments yet


Leave a comment