FreeBSD: Write-what-where Condition
CVE-2026-45257 is a high-severity write-what-where condition vulnerability in FreeBSD, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions p10, p6, p15 as the first without the flaw, so updating FreeBSD to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.18% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update FreeBSD to p10 or p6 or p15, whichever matches your release line, or a later version.
- Read the advisory on security.freebsd.org for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-RELEASE up to, but not including, p10; 14.4-RELEASE up to, but not including, p6; 14.3-RELEASE up to, but not including, p15 | p10, p6, p15 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CISA (ADP).
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Write-what-where Condition
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.
How developers prevent this class of flaw
- Use a language that provides appropriate memory abstractions.
- Use OS-level preventative functionality integrated after the fact. Not a complete solution.
Timeline
- CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- openwall.com/lists/oss-security/2026/06/10/20Mailing List, Third Party Advisory
- openwall.com/lists/oss-security/2026/06/10/21Mailing List, Third Party Advisory
- heise.de/en/news/FreeBSD-Privilege-Escalation-Vulnerability-with-Tongue-in-Cheek-Codename-11329109.htmlThird Party Advisory
Other vulnerabilities in FreeBSD
- 7.0 High severity
- 7.0 High severity
- 7.0 High severity
- 7.0 High severity
- 7.0 High severity
- 8.4 High severity
Recent Write-what-where Condition vulnerabilities
- 8.8 High severity
- 7.8 High severity
- 9.8 Critical severity
- 8.8 High severity
- 8.8 High severity
- 7.8 High severity
Spotted an error? Tell us.