CVE-2026-125245: FFmpeg · Memory Leak
Affects FFmpegSource CVE Database V5
Not known to be exploited · CVSS 5.7 Medium.
Data as of 9 Nov 2026, 19:33 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in– |
GitHubFFmpegpkg:github/FFmpegOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid processing untrusted MJPEG streams with hardware acceleration enabled or consider disabling VAAPI and NVDEC hardware decoding as a temporary mitigation.
Description
CVE-2026-125245 is a memory leak vulnerability in FFmpeg versions up to 9.0.2. The flaw occurs in the ff_mjpeg_decode_sof() function of the MJPEG decoder, where the hwaccel_picture_private pointer is overwritten without being freed. This can lead to leakage of private hardware acceleration data and buffers when processing crafted MJPEG streams with repeated SOF markers or failing frames under VAAPI or NVDEC decoding.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/50e9ef29be1766404115b0a4908fa3fd6ed7fa3f (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/mjpegdec.c (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-in-mjpeg-hwaccel-sof-decoding (opens in a new tab)