PatchSiren cyber security CVE debrief
CVE-2026-125245 FFmpeg CVE debrief
A memory leak vulnerability exists in FFmpeg through version 9.0.2 in the ff_mjpeg_decode_sof() function within libavcodec/mjpegdec.c. This vulnerability allows attackers to supply crafted MJPEG streams with repeated SOF markers or failing frames to leak hwaccel private data and hardware buffers under VAAPI or NVDEC decoding. The vulnerability is caused by the hwaccel_picture_private pointer being overwritten without being freed. This issue affects systems using FFmpeg for MJPEG decoding with hardware acceleration, particularly those utilizing VAAPI or NVDEC decoding. Defenders should assess exposure and prioritize updating to a patched version to prevent potential data leakage and
- Vendor
- FFmpeg
- Product
- Unknown
- CVSS
- MEDIUM 5.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-10
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-10
Who should care
Defenders responsible for systems using FFmpeg for MJPEG decoding with hardware acceleration should assess exposure and prioritize updating to a patched version. This includes operators managing affected product deployments, platform administrators, vulnerability management teams, and security teams. They should review the vulnerability details, assess the potential impact on their systems, and plan for updates or mitigations as necessary. Additionally, IT
Why it matters
This memory leak vulnerability in FFmpeg's MJPEG decoding affects hardware acceleration components. Defenders should assess exposure, especially in systems using VAAPI or NVDEC decoding, and prioritize updating to a patched version to prevent potential data leakage and denial-of-service.
- Potential data leakage through hardware buffers
- Increased risk of denial-of-service due to memory exhaustion
- Need for verification of current FFmpeg versions in use
- Potential for attackers to gain information about hardware acceleration
Technical summary
The ff_mjpeg_decode_sof() function in libavcodec/mjpegdec.c of FFmpeg through 9.0.2 has a memory leak vulnerability. This occurs because the hwaccel_picture_private pointer is overwritten without being freed. An attacker can exploit this by providing crafted MJPEG streams with repeated SOF markers or failing frames, potentially leaking hwaccel private data and hardware buffers when using VAAPI or NVDEC decoding.
Defensive priority
Medium priority for systems using FFmpeg for MJPEG decoding with hardware acceleration
Recommended defensive actions
- Review and update FFmpeg to a version that patches this vulnerability
- Assess exposure of MJPEG decoding with hardware acceleration in your environment
- Monitor for crafted MJPEG streams that could exploit this vulnerability
- Verify current FFmpeg versions in use across your organization
- Implement compensating controls for exposed systems while remediation is scheduled and verified
- Track exceptions and retest remediated assets
- Review relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability is confirmed in FFmpeg version 9.0.2. The source item from the GitHub Advisory Database provides details about the memory leak in ff_mjpeg_decode_sof(). Official CVE and NVD records corroborate the vulnerability's existence.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125245 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125245
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125245 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125245
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg through 9.0.2 contains a memory leak vulnerability in ff_mjpeg_decode_sof() in libavcodec
Unverified legacy reference
URL: https://github.com/advisories/GHSA-97hh-vm9v-mprx
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/commit/50e9ef29be1766404115b0a4908fa3fd6ed7fa3f
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/mjpegdec.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-in-mjpeg-hwaccel-sof-decoding
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.