CVE-2025-9951: ffmpeg Heap-based Buffer Overflow
CVSS: 7.2v4.0HighDeferred
AliasesUBUNTU-CVE-2025-9951DEBIAN-CVE-2025-9951CGA-3p99-4p96-4h5fCGA-5gww-jwgx-v326CGA-8vxj-97fv-p3gfCGA-c3mh-gjvf-9rppCGA-vrpx-99h8-5vg9CGA-x5xj-jhx3-xw4mCGA-83wj-86g3-58frCGA-92hq-46q4-pgp4CGA-fhxx-j8r5-mg32CGA-gf4q-w6qf-4r3qCGA-gh26-85cv-qfc7CGA-hfph-cc54-gm98CGA-hw8c-cg59-pv8qCGA-jvf7-599g-7jcjCGA-mc62-mqqq-26rhCGA-mfx6-32jf-wq5fCGA-r7vr-3hcf-6xfwCGA-rfm7-8x82-4mp5CGA-vp79-h9vp-3j89CGA-w9px-8g53-6q55CGA-wmp8-vq6c-qq3fCGA-x36r-rv2m-m97j
Published 09-09-2025Last modified 26-02-2026
Vulnerability summary
CVE-2025-9951 is a high (CVSS 7.2) Heap-based Buffer Overflow vulnerability in ffmpeg. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 37.1% of scored vulnerabilities.
CVSS score
7.2/10
010
High · v4.0 (CVE.org)EPSS score
0.44%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 09-09-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.2Preferred score · CVE.org (CNA)
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H
- OSV · DebianEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST7.2HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
+0.01 pp
From 0.43% on 19-09-2026
19-09-202619-10-2026
EPSS score0.44%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard12 products
- eco-python-ffmpeg-6-minimalAll versions (No fix recorded)
- eco-python-ffmpeg-6-minimal-devAll versions (No fix recorded)
- eco-python-ffmpeg-6-minimal-staticAll versions (No fix recorded)
- ffmpeg-6All versions (No fix recorded)
- ffmpeg-7< 7.1.1-r11
Wolfi4 products
- ffmpeg-7< 7.1.1-r11
- ffmpeg-7.1< 7.1.2-r0
- ffmpeg-7.1-libavdevice61< 7.1.5-r2
- ffmpeg-7.1-libswscale8< 7.1.5-r2
Ubuntu2 products
- ffmpegAll versions (No fix recorded) | < 7:6.1.1-3ubuntu5+esm6
- libavAll versions (No fix recorded)
Debian1 product
- ffmpeg< 7:5.1.7-0+deb12u1 | < 7:7.1.2-0+deb13u1 | < 7:7.1.2-1
Ffmpeg1 product
- ffmpeg< 8.0
5 vendors · 20 products