Off-by-one Error Affecting ffmpeg package, versions [,n5.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (13th 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-6662890
  • published18 Apr 2024
  • disclosed17 Apr 2024
  • creditUnknown

Introduced: 17 Apr 2024

CVE-2024-31585  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version n5.1 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in libavfilter/avf_showspectrum.c. An attacker can cause a crash or potentially execute arbitrary code by supplying a specially crafted input.

CVSS Scores

version 3.1