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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-45257— Arbitrary file overwrite via the KTLS receive path

AI Predicted 7.8 Difficulty: Easy EPSS 0.15% · P5

Affected Version Matrix 3

VendorProductVersion RangeStatus
FreeBSDFreeBSD15.0-RELEASE< p10affected
14.4-RELEASE< p6affected
14.3-RELEASE< p15affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-45257

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
Arbitrary file overwrite via the KTLS receive path
Source: CVE Program / CVE List V5
Vulnerability Description
The KTLS receive path decrypted each record in place, assuming that the mbufs holding received data were anonymous and safe to modify. This assumption does not hold for data placed on a socket by sendfile(2), which can reference file-backed memory directly through non-anonymous M_EXTPG pages or EXT_SFBUF mbufs. When the sender transmits such data over a loopback connection without enabling KTLS on the transmit side, the file-backed mbufs reach the receiver's decryption path unchanged. Decrypting a record in place then overwrites the backing file's page cache instead of a private copy of the data. An unprivileged local user who can read a file can overwrite its contents with data of their choosing by sending the file over a loopback connection on which they have enabled KTLS receive. The write modifies the page cache directly, so it bypasses file flags such as schg and is written back to disk. By overwriting a setuid binary or other trusted file, a local user can escalate privileges, potentially gaining full control of the affected system.
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存在缓冲区错误漏洞,该漏洞源于KTLS接收路径中假设mbufs是匿名且安全的,但sendfile(2)发送的文件支持内存数据通过非匿名页面到达时,解密会直接覆盖页面缓存,导致无特权用户可覆盖文件内容以提升权限。以下版本受到影响:15.0-RELEASE p10之前版本、14.4-RELEASE p6之前版本和14.3-RELEASE p15之前版本。
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 ~ p10 -

II. Public POCs for CVE-2026-45257

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45257

登录查看更多情报信息。

Vendor Advisories for CVE-2026-45257 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45257

No comments yet


Leave a comment