Skip to main content

Excessive Iteration


Severity Medium
Score 6.5/10


In "libavformat/rl2.c" in FFmpeg 2.4.14, 2.5-dev prior to 2.8.13, 2.9-dev prior to 3.0.10, 3.1.x prior to 3.1.11, 3.2.x prior to 3.2.8, 3.3.x prior to 3.3.4, and 3.4-dev a DoS in rl2_read_header() due to lack of an EOF (End of File) check might cause huge CPU and memory consumption. When a crafted RL2 file, which claims a large "frame_count" field in the header but does not contain sufficient backing data, is provided, the loops (for offset and size tables) would consume huge CPU and memory resources, since there is no EOF check inside these loops.

  • 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