1. Archivio CVE
  2. 2025
  3. CVE-2025-8194

CVE-2025-8194

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

Descrizione

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
python software foundation cpython < 3.9.24 –
python software foundation cpython >= 3.10.0 < 3.10.19 –
python software foundation cpython >= 3.11.0 < 3.11.14 –
python software foundation cpython >= 3.12.0 < 3.12.12 –
python software foundation cpython >= 3.13.0 < 3.13.6 –
python software foundation cpython >= 3.14.0a1 < 3.14.0rc2 –
Tutte le 64 vulnerabilità di Python Software Foundation Cpython

Tipo di vulnerabilità

CWE-835 Ciclo infinito (condizione di uscita irraggiungibile)

Il prodotto contiene un ciclo con una condizione di uscita che non può mai verificarsi, cioè un ciclo infinito.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: amplificazione

Tutte le 992 CVE di tipo CWE-835, con andamento e prevenzione

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