CVE-2026-45257: Freebsd Privilege Escalation

CVE-2026-45257

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability Summary

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.
Severity Level
HIGH(7.8)
Published Date
Jun 26, 2026
Last Modified
Jun 27, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.15%Probability
Root Weakness (CWE)
Any condition where the attacker has the ability to write an arbitrary value to an arbitrary location, often as the result of a buffer overflow.
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Freebsd
  • FreeBSD >= 15.0-RELEASE and < p10
  • FreeBSD >= 14.4-RELEASE and < p6
  • FreeBSD >= 14.3-RELEASE and < p15
Patched Versions
  • FreeBSD p10
  • FreeBSD p6
  • FreeBSD p15

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Freebsd and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jun 26, 2026Published
  • Jun 27, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Freebsd CVEsYou are reading CVE-2026-45257. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 16:15 UTC