Descrizione
FFmpeg through 9.0.2 contains an uncontrolled resource consumption vulnerability in parse_frame_header() in libavcodec/jpegxl_parser.c that fails to validate TOC entry counts against remaining input. Attackers can supply a crafted JPEG XL frame header with a permuted TOC and huge toc_count, making the parser loop excessively and exhaust CPU.
Tipo di vulnerabilità
CWE-606
Unchecked Input for Loop Condition
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento della CPU |
Come si previene
Sviluppo
Do not use user-controlled data for loop conditions.
Sviluppo
Perform input validation.
Tutte le 37 CVE di tipo CWE-606, con andamento e prevenzione