Skip to main content

Excessive Iteration


Severity Medium
Score 6.5/10


In "libavformat/mxfdec.c" in FFmpeg before 2.4.14, 2.5-dev before 2.8.13, 2.9-dev before 3.0.10, 3.1-dev before 3.1.11, 3.2-dev before 3.2.8, 3.3-dev before 3.3.4, and in 3.4-dev, a DoS in mxf_read_index_entry_array() due to lack of an EOF (End of File) check might cause huge CPU consumption. .When a crafted MXF file, which claims a large "nb_index_entries" field in the header but does not contain sufficient backing data, is provided, the loop would consume huge CPU resources, since there is no EOF check inside the loop. Moreover, this big loop can be invoked multiple times if there is more than one applicable data segment in the crafted MXF file.

  • LOW
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-834 - Excessive Iteration

The software performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.

Advisory Timeline

  • Published