Skip to content
Fencer Vulns
high 7.5

CVE-2024-31578 json

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

published 2024-04-17 2 y ago modified 2026-07-23 3 mo ago also EUVD-2024-29455 , JLSEC-2025-125

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

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

Patch / fix

  • julia FFMPEG_jll 7.1.0+0
  • julia FFplay_jll 7.1.0+0
  • ffmpeg ffmpeg 6.1.2
  • ffmpeg Debian 14, Debian 13 7:7.0.1-3

debian advisories DEBIAN-CVE-2024-31578

  • ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm5
  • ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm5
  • ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm4
  • ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm1

ubuntu advisories UBUNTU-CVE-2024-31578

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ffmpeg-4 SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 4.4.5-150600.13.16.1
  • ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Workstation Extension 15 SP5 +4 more 4.4-150400.3.24.1
  • ffmpeg SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +12 more 3.4.2-150200.11.41.1

suse advisories SUSE-SU-2025:0862-1SUSE-SU-2024:1470-1SUSE-SU-2024:1468-1

  • ffmpeg-7 openSUSE Tumbleweed 7.1.1-1.1
  • ffmpeg-5 openSUSE Tumbleweed 5.1.4-5.1
  • ffmpeg-4 openSUSE Tumbleweed 4.4.4-7.1
  • ffmpeg-6 openSUSE Tumbleweed 6.1.1-4.1

opensuse advisories openSUSE-SU-2025:14974-1openSUSE-SU-2024:13888-1openSUSE-SU-2024:13894-1openSUSE-SU-2024:13895-1

  • ffmpeg Alpine 3.24, Alpine 3.23 7.1.1-r0

alpine advisories ALPINE-CVE-2024-31578

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-31578 updated

ffmpeg: multiple vulnerabilities

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
<7.1.0+0
7.1.0+0
julia FFplay_jll
<7.1.0+0
7.1.0+0

Affected products

  • ffmpeg ffmpeg

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Update affected version ranges.