CVE-2024-31578 Affecting ffmpeg package, versions <7.1.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.97% (58th 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-ALPINE324-FFMPEG-17299826
  • published11 Jun 2026
  • disclosed17 Apr 2024

Introduced: 17 Apr 2024

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

How to fix?

Upgrade Alpine:3.24 ffmpeg to version 7.1.1-r0 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 Alpine. See How to fix? for Alpine:3.24 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