Skip to content
OpenAdvisories
High · 7.2 Public exploit CVE-2025-9951 EUVD-2025-27255

Remote code execution via Heap Buffer Overflow in FFmpeg JPEG2000

Published Sep 9, 2025 · Updated Feb 26, 2026 · Assigned by Google

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 12

References