Skip to content
OpenAdvisories
High · 7.5 CVE-2024-31578 EUVD-2024-29455GHSA-56vv-v57v-fgmr

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

Published Apr 17, 2024 · Updated Nov 4, 2025 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:7.0.1-3 —
Debian 13 ffmpeg 7:7.0.1-3 —
Debian 12 ffmpeg No fix yet —
Debian 11 ffmpeg 7:4.3.8-0+deb11u1 DLA-3928-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS ffmpeg 7:6.1.1-3ubuntu5+esm1 USN-6803-1
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm4 USN-6803-1
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm5 USN-6803-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS ffmpeg 7:3.4.11-0ubuntu0.1+esm5 USN-6803-1
Ubuntu Pro 16.04 LTS ffmpeg 7:2.8.17-0ubuntu0.1+esm7 USN-6803-1
Ubuntu Pro 14.04 LTS libav No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 ffmpeg-4 4.4.5-150600.13.16.1 SUSE-SU-2025:0862-1
SLES 15 SP5 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLES 15 SP5 ffmpeg-4 4.4-150400.3.24.1 SUSE-SU-2024:1470-1
SLES 15 SP4 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLES 15 SP4 ffmpeg-4 4.4-150400.3.24.1 SUSE-SU-2024:1470-1
SLES 15 SP3 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLES 15 SP2 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLES for SAP 15 SP4 ffmpeg-4 4.4-150400.3.24.1 SUSE-SU-2024:1470-1
SLES for SAP 15 SP3 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLES for SAP 15 SP2 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLE HPC 15 SP4 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLE HPC 15 SP4 ffmpeg-4 4.4-150400.3.24.1 SUSE-SU-2024:1470-1
SLE HPC 15 SP3 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SLE HPC 15 SP2 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
SUSE Enterprise Storage 7.1 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.4-7.1 openSUSE-SU-2024:13894-1
openSUSE Tumbleweed ffmpeg-5 5.1.4-5.1 openSUSE-SU-2024:13888-1
openSUSE Tumbleweed ffmpeg-6 6.1.1-4.1 openSUSE-SU-2024:13895-1
openSUSE Tumbleweed ffmpeg-7 7.1.1-1.1 openSUSE-SU-2025:14974-1
openSUSE Leap 15.6 ffmpeg-4 4.4.5-150600.13.16.1 SUSE-SU-2025:0862-1
openSUSE Leap 15.5 ffmpeg 3.4.2-150200.11.41.1 SUSE-SU-2024:1468-1
openSUSE Leap 15.5 ffmpeg-4 4.4-150400.3.24.1 SUSE-SU-2024:1470-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ffmpeg 7.1.1-r0 —
Alpine v3.23 ffmpeg 7.1.1-r0 —

Advisories 10

References