The ff_mjpeg_decode_sof function in libavcodec/mjpegdec.c in FFmpeg before 2.5.4 does not validate the number of components in a JPEG-LS Start Of Frame segment, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via crafted Motion JPEG data.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://git.videolan.org/?p=ffmpeg.git%3Ba=commit%3Bh=fabbfaa095660982cc0bc63242c459561fa37037 | |
http://www.ubuntu.com/usn/USN-2944-1 | third party advisory vendor advisory |
http://www.securitytracker.com/id/1033078 | vdb entry |
http://www.securityfocus.com/bid/72644 | vdb entry third party advisory |
https://lists.debian.org/debian-lts-announce/2019/03/msg00041.html | mailing list |