Description
A heap-buffer-overflow write exists in jpeg2000dec FFmpeg which allows an attacker to potentially gain remote code execution or cause denial of service via the channel definition cdef atom of JPEG2000.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | < 8.0 | — |
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:7.1.2-1 | — |
| Debian 13 | ffmpeg | 7:7.1.2-0+deb13u1 | DSA-6007-1 |
| Debian 12 | ffmpeg | 7:5.1.7-0+deb12u1 | DSA-5985-1 |
| Debian 11 | ffmpeg | 7:4.3.9-0+deb11u2 | DLA-4440-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | No fix yet | — |
| Ubuntu 25.10 | ffmpeg | No fix yet | — |
| Ubuntu 22.04 LTS | ffmpeg | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 24.04 LTS | ffmpeg | 7:6.1.1-3ubuntu5+esm6 | USN-7830-1 |
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm10 | USN-7830-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm11 | USN-7830-1 |
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm11 | USN-7830-1 |
| Ubuntu Pro 16.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ffmpeg-4 | 4.4.7-150600.13.47.1 | SUSE-SU-2026:2445-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4.7-150400.3.67.1 | SUSE-SU-2026:2444-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | ffmpeg-4 | 4.4.7-150400.3.67.1 | SUSE-SU-2026:2444-1 |
| SLE HPC 15 SP4 | ffmpeg-4 | 4.4.7-150400.3.67.1 | SUSE-SU-2026:2444-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.7-2.1 | openSUSE-SU-2026:10866-1 |
| openSUSE Tumbleweed | ffmpeg-7 | 7.1.4-2.1 | openSUSE-SU-2026:10867-1 |
| openSUSE Tumbleweed | ffmpeg-8 | 8.1.1-3.1 | openSUSE-SU-2026:10890-1 |
| openSUSE Tumbleweed | ffmpeg-9 | 9.0.1-1.1 | openSUSE-SU-2026:11515-1 |
| openSUSE Leap 16.0 | ffmpeg-7 | 7.1.4-160000.1.1 | openSUSE-SU-2026:21211-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ffmpeg-7 | 7.1.1-r11 | — |
| Wolfi rolling | ffmpeg-7.1 | 7.1.2-r0 | — |
| Wolfi rolling | ffmpeg-7.1-libswscale8 +1 | 7.1.5-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
fm0ss/cve-2025-9951-ffmpeg-jp2-poc ★ 0 · Jul 19, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 12
- WID-SEC-2025-1998 ffmpeg: Schwachstelle ermöglicht Codeausführung und potenziell Denial of Service BSI CERT-Bund (WID) · Aug 16, 2026
- openSUSE-SU-2026:11515-1 ffmpeg-9-libavcodec-devel-9.0.1-1.1 on GA media SUSE / openSUSE Security Updates · Aug 16, 2026
- openSUSE-SU-2026:21211-1 Security update for ffmpeg-7 SUSE / openSUSE Security Updates · Jul 3, 2026
- SUSE-SU-2026:2444-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Jun 19, 2026
- SUSE-SU-2026:2445-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Jun 19, 2026
- openSUSE-SU-2026:10890-1 ffmpeg-8-8.1.1-3.1 on GA media SUSE / openSUSE Security Updates · May 30, 2026
- openSUSE-SU-2026:10867-1 ffmpeg-7-7.1.4-2.1 on GA media SUSE / openSUSE Security Updates · May 28, 2026
- openSUSE-SU-2026:10866-1 ffmpeg-4-4.4.7-2.1 on GA media SUSE / openSUSE Security Updates · May 28, 2026
- USN-7830-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5985-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-6007-1 ffmpeg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4440-1 ffmpeg - security update Debian Security (DSA / DLA) · Jan 17, 2026