CVE-2026-125255
Last modified
CVE-2026-125255 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ff_mjpeg_decode_sof() to pass a stale raw_image_buffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
FFmpeg through 9.0.2 contains a use after free vulnerability in libavcodec/mjpegdec.c that allows attackers to trigger freed buffer reads by sending a SOF marker without a preceding SOI. Attackers can supply crafted MJPEG streams causing ff_mjpeg_decode_sof() to pass a stale raw_image_buffer pointer to hwaccel decoders like NVDEC, crashing applications or leaking heap contents.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | <= 9.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-125255?
How severe is CVE-2026-125255?
How do I fix CVE-2026-125255?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12525The Redux Framework WordPress plugin before 4.5.13 does not …8.8
- CVE-2026-125250FFmpeg through 9.0.2 contains a heap buffer overflow in the …7.8
- CVE-2026-125251FFmpeg through 9.0.2 contains an integer overflow vulnerabil…7
- CVE-2026-125252FFmpeg through 9.0.2 contains a memory leak vulnerability in…4.7
- CVE-2026-125253FFmpeg through 9.0.2 contains an integer overflow in cbs_vp9…5.3
- CVE-2026-125254FFmpeg through 9.0.2 contains a division by zero vulnerabili…5.5
- CVE-2026-125256FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125257FFmpeg through 9.0.2 contains an off-by-one heap overflow vu…7
- CVE-2026-125258FFmpeg through 9.0.2 contains a division by zero vulnerabili…4.7
- CVE-2026-125259FFmpeg through 9.0.2 contains an integer overflow vulnerabil…7.8
- CVE-2026-12526The Advanced Custom Fields: Extended WordPress plugin before…8.1
- CVE-2026-125260FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
Are you affected by CVE-2026-125255?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
