In FFmpeg 3.3.3, a DoS in cinereadheader() due to lack of an EOF check might cause huge CPU and memory consumption. When a crafted CINE file, which claims a large "duration" field in the header but does not contain sufficient backing data, is provided, the image-offset parsing loop would consume huge CPU and memory resources, since there is no EOF check inside the loop.
[ { "deprecated": false, "target": { "function": "cine_read_header", "file": "libavformat/cinedec.c" }, "source": "https://github.com/ffmpeg/ffmpeg/commit/7e80b63ecd259d69d383623e75b318bf2bd491f6", "digest": { "function_hash": "324241049478658231791347694847453150582", "length": 4976.0 }, "signature_type": "Function", "signature_version": "v1", "id": "CVE-2017-14059-5847fc3a" }, { "deprecated": false, "target": { "file": "libavformat/cinedec.c" }, "source": "https://github.com/ffmpeg/ffmpeg/commit/7e80b63ecd259d69d383623e75b318bf2bd491f6", "digest": { "threshold": 0.9, "line_hashes": [ "305296804302078399722126839551152068198", "106274278606077000144940501038737739662", "233256932812462212533303316476378042749", "274708204534380055578403856655644778121", "87743801244886013580109933991926564199" ] }, "signature_type": "Line", "signature_version": "v1", "id": "CVE-2017-14059-8414b9d6" } ]