CVE-2024-31578

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

Published: 2024-04-17 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-31578 is rated Moderate Risk (50.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.97%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-31578

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.35% 0.97% +0.62%
2 2026-06-08 0.32% 0.35% +0.03%
3 2026-03-18 0.32%

Full EPSS history (14 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-31578

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-31578

OS Trackers for CVE-2024-31578

vendor priority summary link
alpine CVE-2024-31578: 1 source package rows (ffmpeg); 9 state rows across 2 repos (3.22-community, edge-community); fixed 1, open 8. https://security.alpinelinux.org/vuln/CVE-2024-31578
debian not yet assigned CVE-2024-31578 not yet assigned priority: Debian including 1 source packages (ffmpeg), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2024-31578
suse high CVE-2024-31578 severity important: SUSE including 223 source package names (0.3.2-1.2:libavcodec58_134-4.4.5-150600.13.16.1, 0.3.2-1.2:libavformat58_76-4.4.5-150600.13.16.1, …), 590 product×package rows across 36 product lines (Container containers/lmcache-vllm-openai, Container containers/open-webui, … (36 product lines)): Fixed 590. https://www.suse.com/security/cve/CVE-2024-31578/
ubuntu medium CVE-2024-31578 medium priority: Ubuntu including 2 source packages (ffmpeg, libav), 19 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, released 6, not-affected 4, needs-triage 2. https://ubuntu.com/security/CVE-2024-31578

Affected software / configurations for CVE-2024-31578

Vendor Product Version Raw CPE
ffmpeg ffmpeg < 7.0 cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
fedoraproject fedora 40 cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*

References for CVE-2024-31578

URL Tags
https://gist.github.com/1047524396/45400cce5859d78dcd3a62010df8d179 Third Party Advisory
https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7 Patch
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/ Third Party 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/
cvelogic Threat Intelligence