1. Archivio CVE
  2. 2026
  3. CVE-2026-45257

CVE-2026-45257

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
freebsd freebsd 14.3 –
freebsd freebsd 14.3 p1 –
freebsd freebsd 14.3 p10 –
freebsd freebsd 14.3 p11 –
freebsd freebsd 14.3 p12 –
freebsd freebsd 14.3 p13 –
freebsd freebsd 14.3 p14 –
freebsd freebsd 14.3 p2 –
freebsd freebsd 14.3 p3 –
freebsd freebsd 14.3 p4 –
freebsd freebsd 14.3 p5 –
freebsd freebsd 14.3 p6 –
freebsd freebsd 14.3 p7 –
freebsd freebsd 14.3 p8 –
freebsd freebsd 14.3 p9 –
freebsd freebsd 14.4 –
freebsd freebsd 14.4 p1 –
freebsd freebsd 14.4 p2 –
freebsd freebsd 14.4 p3 –
freebsd freebsd 14.4 p4 –
freebsd freebsd 14.4 p5 –
freebsd freebsd 14.4 rc1 –
freebsd freebsd 15.0 –
freebsd freebsd 15.0 p1 –
freebsd freebsd 15.0 p2 –
freebsd freebsd 15.0 p3 –
freebsd freebsd 15.0 p4 –
freebsd freebsd 15.0 p5 –
freebsd freebsd 15.0 p6 –
freebsd freebsd 15.0 p7 –
freebsd freebsd 15.0 p8 –
freebsd freebsd 15.0 p9 –
freebsd freebsd 15.1 rc2 –
Tutte le 594 vulnerabilità di Freebsd

Tipo di vulnerabilità

CWE-123 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.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Modificare la memoria, Eseguire codice o comandi non autorizzati, Ottenere privilegi o assumere un’altra identità, Interruzione del servizio: arresto o riavvio, Aggirare i meccanismi di protezione
Integrità, Disponibilità Interruzione del servizio: arresto o riavvio, Modificare la memoria
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Architettura e progettazione · Scelta del linguaggio Use a language that provides appropriate memory abstractions.
Esercizio Use OS-level preventative functionality integrated after the fact. Not a complete solution.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 42 CVE di tipo CWE-123, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org