
CVE catalog
CVE-2024-31578
FFmpeg vulnerabilities
- Severity
- High · CVSS 7.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.18% · Oct 25, 2026
FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ffmpeg | sid | 7:9.0.2-4 | fixed |
| Debian | ffmpeg | forky | 7:9.0.2-4 | fixed |
| Debian | ffmpeg | trixie | 7:7.1.5-0+deb13u1 | fixed |
| Debian | ffmpeg | trixie-security | 7:7.1.5-0+deb13u1 | fixed |
| Debian | ffmpeg | bookworm | 7:5.1.9-0+deb12u1 | vulnerable |
| Debian | ffmpeg | bookworm-security | 7:5.1.9-0+deb12u1 | vulnerable |
| Ubuntu | ffmpeg | noble | Not reported | vulnerable |
| Ubuntu | ffmpeg | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | ffmpeg-doc | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavcodec-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavcodec-extra | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavcodec-extra60 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavcodec60 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavdevice-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavdevice60 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavfilter-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavfilter-extra | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavfilter-extra9 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavfilter9 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavformat-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavformat-extra | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavformat-extra60 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavformat60 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavutil-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libavutil58 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libpostproc-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libpostproc57 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libswresample-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libswresample4 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libswscale-dev | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libswscale7 | noble | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Ubuntu | libav | pro | 6:0.8.7-1ubuntu2 | vulnerable |
| Ubuntu | libav | pro | 6:9.10-1ubuntu1 | vulnerable |
| Ubuntu | libav | pro | 6:9.10-1ubuntu2 | vulnerable |
| Ubuntu | libav | pro | 6:9.10-1ubuntu5 | vulnerable |
| Ubuntu | libav | pro | 6:9.10-1ubuntu6 | vulnerable |
| Ubuntu | libav | pro | 6:9.10-1ubuntu7 | vulnerable |
| Ubuntu | libav | pro | 6:9.11-2ubuntu1 | vulnerable |
| Ubuntu | libav | pro | 6:9.11-2ubuntu2 | vulnerable |
| Ubuntu | libav | pro | 6:9.13-0ubuntu0.14.04.1 | vulnerable |
| Ubuntu | libav | pro | 6:9.14-0ubuntu0.14.04.1 | vulnerable |
| Ubuntu | libav | pro | 6:9.16-0ubuntu0.14.04.1 | vulnerable |
| Ubuntu | libav | pro | 6:9.18-0ubuntu0.14.04.1 | vulnerable |
| Ubuntu | libav | pro | 6:9.20-0ubuntu0.14.04.1 | vulnerable |
| Ubuntu | libav | pro | 6:9.20-0ubuntu0.14.04.1+esm1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.0-6ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.0-9ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1-2ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1-3ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1-4ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1-5ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1.1-1ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1.1-3ubuntu1 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1.1-3ubuntu5 | vulnerable |
| Ubuntu | ffmpeg | pro | 7:6.1.1-3ubuntu5+esm1 | fixed |
| Opensuse | ffmpeg-4 | tumbleweed | 4.4.4-7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ffmpeg | source | sid | 7:7.0.1-3 | not yet assigned | Not reported | Not reported |
| Debian | ffmpeg | source | forky | 7:7.0.1-3 | not yet assigned | Not reported | Not reported |
| Debian | ffmpeg | source | trixie | 7:7.0.1-3 | not yet assigned | Not reported | Not reported |
| Debian | ffmpeg | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Ubuntu | ffmpeg | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | ffmpeg-doc | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavcodec-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavcodec-extra | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavcodec-extra60 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavcodec60 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavdevice-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavdevice60 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavfilter-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavfilter-extra | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavfilter-extra9 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavfilter9 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavformat-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavformat-extra | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavformat-extra60 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavformat60 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavutil-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libavutil58 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libpostproc-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libpostproc57 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libswresample-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libswresample4 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libswscale-dev | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libswscale7 | deb | noble | 7:6.1.1-3ubuntu5+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | ffmpeg | deb | pro | 7:6.1.1-3ubuntu5+esm1 | Not reported | UBUNTU-CVE-2024-31578 | Not reported |
| Opensuse | ffmpeg-4 | rpm | tumbleweed | 4.4.4-7.1 | Not reported | OPENSUSE-SU-2024:13894-1 | Not reported |
Notes
[bookworm] ffmpeg: Pick up when fixed in 5.1.x
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_1468-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-31578]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-31578]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13894-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-31578]
- [https://ubuntu.com/security/notices/USN-6803-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0923.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]