CVE-2024-31578 Affecting ffmpeg package, versions <7:3.4.11-0ubuntu0.1+esm5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (38th 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-UBUNTU1804-FFMPEG-10287344
  • published1 Jun 2025
  • disclosed17 Apr 2024

Introduced: 17 Apr 2024

CVE-2024-31578  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ffmpeg to version 7:3.4.11-0ubuntu0.1+esm5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.

CVSS Base Scores

version 3.1