# CVE-2024-31578: FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the avhwframectxinit function.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-04-17T00:00:00.000Z
- Modified: 2026-06-17T07:28:36.030Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ffmpeg ffmpeg: n6.1.1; before 7.0
- fedoraproject fedora: 38; 39; 40

## References

- <https://github.com/ffmpeg/ffmpeg/commit/3bb00c0a420c3ce83c6fafee30270d69622ccad7> (patch)
- <https://gist.github.com/1047524396/45400cce5859d78dcd3a62010df8d179> (third-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

- CVE List: [CVE-2024-31578](https://www.cve.org/CVERecord?id=CVE-2024-31578), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-31578](https://nvd.nist.gov/vuln/detail/CVE-2024-31578), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31578 · Whole record: https://cve.day/CVE-2024-31578.json · Rebuilt by cve.day 2026-11-25T22:58:39.401Z
