Out-of-Bounds Affecting ffmpeg package, versions [,2.5.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.89% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FFMPEG-2369144
  • published26 Jan 2022
  • disclosed26 Jul 2015
  • creditUnknown

Introduced: 26 Jul 2015

CVE-2015-1872  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 2.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

CVSS Scores

version 3.1