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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

AI Predicted 9.8 Difficulty: Trivial EPSS 0.03% · P10

Affected Version Matrix 4

VendorProductVersion RangeStatus
FreeBSDFreeBSD15.0-RELEASE< p7affected
14.4-RELEASE< p3affected
14.3-RELEASE< p12affected
13.5-RELEASE< p13affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
引号语法转义处理不恰当
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
FreeBSDFreeBSD 15.0-RELEASE ~ p7 -

II. Public POCs for CVE-2026-42511

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-42511

No comments yet


Leave a comment