CVE-2026-45257
published high CVSS 3.1 · 7.8Arbitrary file overwrite via the KTLS receive path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.0-RELEASE to < p10 · 14.4-RELEASE to < p6 · 14.3-RELEASE to < p15 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE to < p10 (affected · release)14.4-RELEASE to < p6 (affected · release)14.3-RELEASE to < p15 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-123 CWE-123 Write-what-where Condition
References
4Provider assertions
3freebsd · cna
Arbitrary file overwrite via the KTLS receive path
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92c4e686e2580bbbfc2013dd2ce5687930867f503ef3510a228965aea3f2bb0e
- Ingested
- 23 Sep 2026, 09:15:37 UTC
- Source record
- Official CVE record