Description
libavcodec/pthread_frame.c in FFmpeg before 5.1.2, as used in VLC and other products, leaves stale hwaccel state in worker threads, which allows attackers to trigger a use-after-free and execute arbitrary code in some circumstances (e.g., hardware re-initialization upon a mid-video SPS change when Direct3D11 is used).
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | 7:5.1.2-1 | — |
| Debian 13 | ffmpeg | 7:5.1.2-1 | — |
| Debian 12 | ffmpeg | 7:5.1.2-1 | — |
| Debian 11 | ffmpeg | 7:4.3.7-0+deb11u1 | DSA-5721-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm2 | USN-6449-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm3 | USN-6449-1 |
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm3 | USN-6449-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | ffmpeg | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | ffmpeg-4 | 4.4.5-150600.13.19.1 | SUSE-SU-2025:0958-1 |
| SLES 15 SP4 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4-150400.3.15.1 | SUSE-SU-2023:2087-1 |
| SLES 15 SP3 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLES 15 SP2 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLES 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLES for SAP 15 SP2 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLES for SAP 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
| SLE Real Time 15 SP3 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLE HPC 15 SP3 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLE HPC 15 SP2 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SLE HPC 15 SP1 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
| SUSE Enterprise Storage 7.1 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SUSE Enterprise Storage 7 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| SUSE Enterprise Storage 6 | ffmpeg | 3.4.2-150000.4.53.2 | SUSE-SU-2023:2115-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.5-7.1 | openSUSE-SU-2025:14880-1 |
| openSUSE Leap 15.6 | ffmpeg-4 | 4.4.5-150600.13.19.1 | SUSE-SU-2025:0958-1 |
| openSUSE Leap 15.4 | ffmpeg | 3.4.2-150200.11.28.1 | SUSE-SU-2023:2108-1 |
| openSUSE Leap 15.4 | ffmpeg-4 | 4.4-150400.3.15.1 | SUSE-SU-2023:2087-1 |
Advisories 10
- USN-6449-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5721-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:2115-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0958-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2087-1 This update has recommended fixes for ffmpeg-4 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14880-1 ffmpeg-4-4.4.5-7.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2108-1 Security update for ffmpeg SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-0792 ffmpeg: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Mar 19, 2025
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024