Home / Ffmpeg / Ffmpeg / CVE-2024-31578
CVE-2024-31578: is it exploited, and which versions of Ffmpeg are affected and fixed?
CVE-2024-31578 is an use after free vulnerability in Ffmpeg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: ffmpeg before 7.0, fedora 38, fedora 39 and 1 more (NVD). Fixed in 7.0 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-31578?
FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.
From the CVE record by mitre, last updated November 4, 2025, 17:20 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ffmpeg | ffmpeg | before 7.0 | application |
| fedoraproject | fedora | 38 | operating system |
| fedoraproject | fedora | 39 | operating system |
| fedoraproject | fedora | 40 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:28 UTC.
How severe is CVE-2024-31578?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-31578 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 10, 2024)
- EPSS
- 1.18% probability of exploitation activity in the next 30 days, percentile 68.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7
- https://gist.github.com/1047524396/45400cce5859d78dcd3a62010df8d179
- FEDORA-2024-92780a83f9 vendor-advisory
- FEDORA-2024-55e7e839f1 vendor-advisory
- FEDORA-2024-3a548f46a8 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/
When was it published, and where is the official record?
- Reserved
- April 5, 2024
- Published
- April 17, 2024, 00:00 UTC
- CVE record updated
- November 4, 2025, 17:20 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 07:28 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ffmpeg?
- Nov 29, 2026CVE-2025-71475 FFmpeg: NULL pointer dereference (crash)
- Nov 29, 2026CVE-2025-71476 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137911 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137910 FFmpeg: out-of-bounds read
- Nov 27, 2026CVE-2026-137909 FFmpeg: NULL pointer dereference (crash)
- Nov 27, 2026CVE-2026-137908 FFmpeg: memory leak
- Nov 27, 2026CVE-2026-137907 FFmpeg: out-of-bounds write (memory corruption)
- Nov 27, 2026CVE-2026-137906 FFmpeg: NULL pointer dereference (crash)
Questions about CVE-2024-31578
Is CVE-2024-31578 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ffmpeg are affected by CVE-2024-31578?
ffmpeg before 7.0, fedora 38, fedora 39 and fedora 40, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2024-31578?
7.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-31578?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-31578?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.