In libavformat/nsvdec.c in FFmpeg 2.4 and 3.3.3, a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End of File) check might cause huge CPU consu...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSffmpeg |
< 7:2.8.14-0ubuntu0.16.04.1→ 7:2.8.14-0ubuntu0.16.04.1 |
7:2.8.14-0ubuntu0.16.04.1 |
Original description The description as published by the source.
In libavformat/nsvdec.c in FFmpeg 2.4 and 3.3.3, a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted NSV file, which claims a large "table_entries_used" field in the header but does not contain sufficient backing data, is provided, the loop over 'table_entries_used' would consume huge CPU resources, since there is no EOF check inside the loop.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report github.com
- report cve.org