CVE-2026-45257 Details
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.
A vulnerability in the kTLS receive path of FreeBSD versions 13.0 through 15.0-RELEASE, excluding FreeBSD 12.x and earlier, allows an unprivileged local user to overwrite the contents of any file they can read. This is achieved by sending the file over a loopback connection with kTLS enabled on the receive side. The vulnerability arises because the decryption process modifies file-backed mbufs, directly impacting the page cache of the file, bypassing standard file permissions and flags. As a result, an attacker can corrupt the file's contents on disk and, by targeting a setuid binary, escalate privileges to root.
Users can upgrade to a supported FreeBSD version that has patched this vulnerability. Instructions for updating via pkg, freebsd-update, or applying a source code patch are available in the FreeBSD security advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.heise.de/en/news/FreeBSD-Privilege-Escalation-Vulnerability-with-Tongue-in-Cheek-Codename-11329109.html | CISA-ADP | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/06/10/20 | CVE | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/06/10/21 | CVE | Mailing ListThird Party Advisory |
| https://security.freebsd.org/advisories/FreeBSD-SA-26:26.ktls.asc | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-123 | Write-what-where Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| freebsd freebsd | 14.3 - 14.3 p1 14.3 p10 14.3 p11 14.3 p12 14.3 p13 14.3 p14 14.3 p2 14.3 p3 14.3 p4 14.3 p5 14.3 p6 14.3 p7 14.3 p8 14.3 p9 14.4 - 14.4 p1 14.4 p2 14.4 p3 14.4 p4 14.4 p5 14.4 rc1 15.0 - 15.0 p1 15.0 p2 15.0 p3 15.0 p4 15.0 p5 15.0 p6 15.0 p7 15.0 p8 15.0 p9 15.1 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 27, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | New CVE Received | [email protected] |
| Jun 26, 2026 | CVE Modified | CVE |