← Back

CVE-2026-45257

nvd nist
Published: Jun 26, 2026Modified: Jun 27, 2026

JSON object

Loading...
7.8
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability: 1.8 / Impact: 5.9
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

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.

Affected (33)

Products: Freebsd: Freebsd
1 product
Freebsd
Configuration A
33 vulnerable
Vulnerable SoftwareAffected Versions
Freebsd
Version 14.3
Version 14.3 p10
Version 14.3 p11
Version 14.3 p12
Version 14.3 p13
Version 14.3 p14
Version 14.3 p1
Version 14.3 p2
Version 14.3 p3
Version 14.3 p4
Version 14.3 p5
Version 14.3 p6
Version 14.3 p7
Version 14.3 p8
Version 14.3 p9
Version 14.4
Version 14.4 p1
Version 14.4 p2
Version 14.4 p3
Version 14.4 p4
Version 14.4 p5
Version 14.4 rc1
Version 15.0
Version 15.0 p1
Version 15.0 p2
Version 15.0 p3
Version 15.0 p4
Version 15.0 p5
Version 15.0 p6
Version 15.0 p7
Version 15.0 p8
Version 15.0 p9
Version 15.1 rc2

References (4)

Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListThird Party Advisory

Timeline

No history available yet.