Heap-based buffer overflow in FFmpeg - CVE-2012-0856
Published: August 20, 2012 / Updated: October 12, 2021
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 Heap-based buffer overflow in the MPV_frame_start function in libavcodec/mpegvideo.c in FFmpeg before 0.9.1, when the lowres option is enabled,. A remote attacker can use a crafted H263 media file. NOTE 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-2012-0856
Sources
- http://ffmpeg.org/security.html
- http://ffmpeg.org/trac/ffmpeg/ticket/757
- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=21270cffaeab2f67a613907516b2b0cd6c9eacf4
- http://www.openwall.com/lists/oss-security/2012/02/01/11
- http://www.openwall.com/lists/oss-security/2012/02/14/4
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78928