cve.bz

CVE-2024-31578 Use After Free

7.5 highEPSS 1.2%Fix available

High (7.5). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-05-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31578 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31578?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31578?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31578 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ffmpeg:ffmpegbefore 7.0
fedoraproject:fedora38
fedoraproject:fedora39
fedoraproject:fedora40

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ffmpeg7:4.3.8-0+deb11u1DLA-3928-1
Debian12ffmpegno fix listedDEBIAN-CVE-2024-31578
Debian13, 14ffmpeg7:7.0.1-3DEBIAN-CVE-2024-31578
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2024-31578
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm7USN-6803-1
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm5UBUNTU-CVE-2024-31578 USN-6803-1
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm5UBUNTU-CVE-2024-31578 USN-6803-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm4UBUNTU-CVE-2024-31578 USN-6803-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm1UBUNTU-CVE-2024-31578 USN-6803-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 11 moreffmpeg3.4.2-150200.11.41.1SUSE-SU-2024:1468-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Package Hub 15 SP5 and 3 moreffmpeg-44.4-150400.3.24.1SUSE-SU-2024:1470-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Workstation Extension 15 SP6ffmpeg-44.4.5-150600.13.16.1SUSE-SU-2025:0862-1
openSUSELeap 15.5ffmpeg3.4.2-150200.11.41.1SUSE-SU-2024:1468-1
openSUSELeap 15.5ffmpeg-44.4-150400.3.24.1SUSE-SU-2024:1470-1
openSUSELeap 15.6ffmpeg-44.4.5-150600.13.16.1SUSE-SU-2025:0862-1
openSUSETumbleweedffmpeg-44.4.4-7.1openSUSE-SU-2024:13894-1
openSUSETumbleweedffmpeg-55.1.4-5.1openSUSE-SU-2024:13888-1
openSUSETumbleweedffmpeg-66.1.1-4.1openSUSE-SU-2024:13895-1
openSUSETumbleweedffmpeg-77.1.1-1.1openSUSE-SU-2025:14974-1
Alpinev3.23, v3.24ffmpeg7.1.1-r0ALPINE-CVE-2024-31578

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON