Executive brief
FFmpeg is a widely used software library for processing multimedia files like video and audio. A vulnerability in its image processing component could allow a remote attacker to crash applications using the library by providing a specially crafted image file. This could lead to service outages or application instability for any software that relies on FFmpeg to handle EXR image files.
Technical details
A heap-based buffer overflow exists in the decode_block function within libavcodec/exr.c of FFmpeg. The vulnerability is triggered when processing OpenEXR (EXR) files with malformed tile positions, leading to out-of-bounds memory access. A remote attacker can exploit this by providing a crafted multimedia file to an application using a vulnerable version of FFmpeg. Successful exploitation results in a denial of service (application crash). The issue was addressed in FFmpeg version 3.1.3.
Affected products
- FFmpeg FFmpeg before 3.1.3
Timeline
- 2017-01-23: disclosed: NVD publication date
- 2016-08-21: patched: Upstream fix committed to FFmpeg git repository
References
- http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit%3Bh=79f52a0dbd484aad111e4bf4a4f7047c7ceb6137
- http://packetstormsecurity.com/files/138618/ffmpeg-3.1.2-Heap-Overflow.html
- http://www.securityfocus.com/archive/1/539368/100/0/threaded
- http://www.securityfocus.com/bid/92664
- http://www.securityfocus.com/bid/92790
- https://www.ffmpeg.org/security.html