# CVE-2025-9951: Remote code execution via Heap Buffer Overflow in FFmpeg JPEG2000

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-09 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2025-9951, DEBIAN-CVE-2025-9951, CGA-3p99-4p96-4h5f, CGA-5gww-jwgx-v326, CGA-8vxj-97fv-p3gf, CGA-c3mh-gjvf-9rpp, CGA-vrpx-99h8-5vg9, CGA-x5xj-jhx3-xw4m, CGA-83wj-86g3-58fr, CGA-92hq-46q4-pgp4, CGA-fhxx-j8r5-mg32, CGA-gf4q-w6qf-4r3q, CGA-gh26-85cv-qfc7, CGA-hfph-cc54-gm98, CGA-hw8c-cg59-pv8q, CGA-jvf7-599g-7jcj, CGA-mc62-mqqq-26rh, CGA-mfx6-32jf-wq5f, CGA-r7vr-3hcf-6xfw, CGA-rfm7-8x82-4mp5, CGA-vp79-h9vp-3j89, CGA-w9px-8g53-6q55, CGA-wmp8-vq6c-qq3f, CGA-x36r-rv2m-m97j
- Record: https://cvemate.com/vulnerability/CVE-2025-9951 · JSON: https://cvemate.com/vulnerability/CVE-2025-9951/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H
- EPSS: 0.525%, percentile 46.024%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): \< 7.1.1-r11
- chainguard ffmpeg-7.1 (Chainguard): \< 7.1.2-r0
- chainguard ffmpeg-7.1-libavdevice61 (Chainguard): \< 7.1.5-r2
- chainguard ffmpeg-7.1-libswscale8 (Chainguard): \< 7.1.5-r2
- chainguard torchaudio-ffmpeg-tarballs (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-4.4.4 (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-5.0.3 (Chainguard): All versions (No fix recorded)
- chainguard torchaudio-ffmpeg-tarballs-6.0 (Chainguard): All versions (No fix recorded)
- wolfi ffmpeg-7 (Wolfi): \< 7.1.1-r11
- wolfi ffmpeg-7.1 (Wolfi): \< 7.1.2-r0
- wolfi ffmpeg-7.1-libavdevice61 (Wolfi): \< 7.1.5-r2
- wolfi ffmpeg-7.1-libswscale8 (Wolfi): \< 7.1.5-r2
- debian ffmpeg (Debian): \< 7:5.1.7-0+deb12u1 \| \< 7:7.1.2-0+deb13u1 \| \< 7:7.1.2-1
- ubuntu ffmpeg (Ubuntu): All versions (No fix recorded) \| \< 7:6.1.1-3ubuntu5+esm6
- ubuntu libav (Ubuntu): All versions (No fix recorded)
- ffmpeg ffmpeg: \< 8.0

## References

- <https://github.com/google/security-research/security/advisories/GHSA-39q3-f8jq-v6mg>
- <https://ubuntu.com/security/CVE-2025-9951>
- <https://www.cve.org/CVERecord?id=CVE-2025-9951>
- <https://ubuntu.com/security/notices/USN-7830-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-9951>

---

Data as of 2026-12-05T06:33:03.369Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
