CVE-2024-31578
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
ffmpeg ffmpegn6.1.1, before 7.0CVE List, NVD
fedoraproject fedora38, 39, 40NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

Se descubrió que la versión n6.1.1 de FFmpeg contenía un heap use-after-free a través de la función av_hwframe_ctx_init.

References

https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7patch
https://gist.github.com/1047524396/45400cce5859d78dcd3a62010df8d179third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPETICRXUOGRIM4U3BCRTIKE3IZWCSBT/third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2024/10/msg00019.html
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6G7EYH2JAK5OJPVNC6AXYQ5K7YGYNCDN/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LE3ASLH6QF2E5OVJI5VA3JSEPJFFFMNY/

Sources

SourceRecordLicence
CVE ListCVE-2024-31578 changed 2025-11-04CVE Terms of Use
NVDCVE-2024-31578 changed 2026-06-17Public domain