Buffer overflow in Ffmpeg
CVE-2025-9951
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.
Vulnerability class: Buffer Overflow
Published · last modified .
EPSS exploit prediction
EPSS 0.004, 39.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg — versions < 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- fm0ss/cve-2025-9951-ffmpeg-jp2-poc (last pushed 2026-07-27)
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.