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

CVE-2026-4224

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

When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
python python < 3.10.0 –
python python >= 3.13.0 < 3.13.13 –
python python >= 3.14.0 < 3.14.4 –
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 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-674 Ricorsione non controllata

Il prodotto non controlla la profondità della ricorsione, che può consumare risorse eccessive come la memoria o lo stack del programma.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Sviluppo Increase the stack size.

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

Tutte le 662 CVE di tipo CWE-674, con andamento e prevenzione

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