Back to overview

CVE-2026-45257

HIGH Exploitation: PoC
7.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-45257
State
PUBLISHED
Assigner
freebsd
Reserved
2026-05-11 16:27 UTC
Published
2026-06-26 14:50 UTC
Last updated
2026-06-27 03:55 UTC
Primary CWE
CWE-123
CWE-123 Write-what-where Condition
Vendor / Product
FreeBSD / FreeBSD
Sources
cve.org  ·  NVD

Severity & Metrics

7.8 HIGH CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
FreeBSD FreeBSD 15.0-RELEASE < p10, 14.4-RELEASE < p6, 14.3-RELEASE < p15
Weakness (CWE)
CWESourceDescription
CWE-123 cna CWE-123 Write-what-where Condition
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.8 HIGH 3.1 adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Back to overview