Heap-based buffer overflow in FFmpeg - CVE-2017-9994
Published: June 28, 2017 / Updated: July 18, 2020
FFmpeg
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in libavcodec/webp.c in FFmpeg before 2.8.12, 3.0.x before 3.0.8, 3.1.x before 3.1.8, 3.2.x before 3.2.5, and 3.3.x before 3.3.1 does not ensure that pix_fmt is set, which. A remote attacker can use a crafted file to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
How to mitigate CVE-2017-9994
Sources
- http://www.securityfocus.com/bid/99317
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1434
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1435
- https://github.com/FFmpeg/FFmpeg/commit/6b5d3fb26fb4be48e4966e4b1d97c2165538d4ef
- https://lists.debian.org/debian-lts-announce/2019/01/msg00006.html