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

CVE-2026-6100

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

Descrizione

Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition. The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a `MemoryError` is raised during decompression. Using the helper functions to one-shot decompress data such as `lzma.decompress()`, `bz2.decompress()`, `gzip.decompress()`, and `zlib.decompress()` are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
python python < 3.10.21 –
python python >= 3.11.0 < 3.11.16 –
python python >= 3.12.0 < 3.12.14 –
python python >= 3.13.0 < 3.13.14 –
python python >= 3.14.0 < 3.14.5 –
python python 3.15.0 alpha1 –
python python 3.15.0 alpha2 –
python python 3.15.0 alpha3 –
python python 3.15.0 alpha4 –
python python 3.15.0 alpha5 –
python python 3.15.0 alpha6 –
python python 3.15.0 alpha7 –
python python 3.15.0 alpha8 –
redhat ai inference server >= 3.2.0 < 3.2.2 –
redhat ai inference server >= 3.3.0 < 3.3.5 –
redhat enterprise linux 6.0 –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
redhat enterprise linux 10.0 –
redhat enterprise linux ai 3.0 –
redhat enterprise linux ai 3.3 –
redhat enterprise linux els 7.0 –
redhat enterprise linux eus 8.4 –
redhat enterprise linux eus 9.6 –
redhat enterprise linux eus 10.0 –
redhat enterprise linux for update services for sap solutions 9.2 –
redhat enterprise linux server tus 8.6 –
redhat enterprise linux server update services for sap solutions 8.6 –
redhat enterprise linux tus 8.8 –
redhat enterprise linux update services for sap solutions 8.8 –
redhat hardened images tutte –
redhat openshift ai >= 3.4 < 3.4.3 –
redhat openshift container platform >= 4.10 <= 4.12.103 –
redhat update infrastructure >= 5.0 < 5.2 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

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

Tutte le 9.638 CVE di tipo CWE-416, con andamento e prevenzione

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