Skip to main content

FFmpeg CVE-2026-125182

| EUVDEUVD-2026-120271 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-09 disclosure@vulncheck.com GHSA-r22j-f673-v9x4
4.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted RealMedia/Cook file
  2. Exploit
    Victim decodes file in FFmpeg
  3. Execution
    Trigger OOB read in joint_decode()
  4. Impact
    Recover leaked pointers from decoded audio

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Cook (RealAudio) decoder to be invoked in joint-stereo mode on an attacker-supplied RealMedia file whose extradata sets js_subband_start greater than subbands, which cook_decode_init() failed to validate; the crafted value drives joint_decode() to read past decode_buffer_0. Limiting factors: the CVSS vector is local (AV:L) and requires passive user interaction (UI:P), i.e. the victim must open or transcode the malicious file; impact is confidentiality-only and low (VC:L), leaking pointers/decoder state into decoded audio that the attacker must then recover, with no integrity or availability effect and no direct code execution. Affected builds are FFmpeg through 9.0.2; updating to a build containing commit 7145d13 is the fix as stated in the evidence.

Impact

This is a genuine but low-urgency issue, not a high-CVSS-but-low-risk mismatch - the signals are internally consistent and all point to limited severity. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:L only) scores 4.8 (Medium) and describes a local, low-complexity, file-driven information disclosure requiring passive user interaction (the victim must decode an attacker-supplied RealMedia/Cook stream); there is no integrity or availability impact claimed. No EPSS score and no KEV status were provided in the input, and no CISA KEV listing is present, so there is no evidence of active exploitation. No confirmed public exploit code is present - the references are the upstream fix commit, the FFmpeg repo, a pull request, and a VulnCheck advisory, not a working PoC. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cycle priority rather than an emergency. The real-world limiter is the confidentiality impact magnitude: the OOB read leaks pointers and decoder state into the decoded audio samples (an ASLR-weakening primitive), so an attacker must both induce decoding of a crafted file and recover the leaked bytes from the audio output, and the leak alone grants no code execution. One thing to verify: the input Tags call this a 'Buffer Overflow', but the CWE (CWE-125) and description describe an out-of-bounds READ, not an overflow/write - treat the integrity/availability implications as absent, as the CVSS vector does.

Exploit ScenarioDerived

An attacker crafts a RealMedia file whose Cook extradata sets js_subband_start larger than subbands, then delivers it to a victim who opens or transcodes it with an FFmpeg-based player or pipeline. During joint-stereo decoding, joint_decode() reads past decode_buffer_0, mixing leaked heap pointers and decoder state into the decoded audio, which the attacker can recover from the output to help defeat ASLR. No public exploit code is identified at time of analysis; exploitation is local and requires the victim to process the malicious file (UI:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Out-of-bounds read in FFmpeg's Cook (RealAudio) decoder, affecting builds through 9.0.2, allows an attacker who supplies a crafted RealMedia file to read past decode_buffer_0 and leak pointers and decoder state into the decoded audio, weakening ASLR. Exploitation requires the victim to open or transcode the malicious file so that the Cook decoder runs in joint-stereo mode with extradata setting js_subband_start greater than subbands; the impact is confidentiality-only and low, with no integrity or availability effect and no direct code execution. No public exploit code has been identified at time of analysis, and the issue is not listed as actively exploited; an upstream fix is available as commit 7145d13201c9f9c5253f40295714faa4f4ada1a0 (PR 24763).

RemediationAI

Apply the upstream fix by rebuilding FFmpeg from a source tree that includes commit 7145d13201c9f9c5253f40295714faa4f4ada1a0, or the corresponding change in pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24763; the commit makes cook_decode_init() reject joint-stereo subpackets whose js_subband_start exceeds subbands with AVERROR_INVALIDDATA, so affected files fail to decode instead of over-reading. No tagged release containing the fix is independently confirmed in the provided data, so verify the commit is present in the build you deploy rather than assuming a version number; downstream distributions and applications that bundle libavcodec must pick up the patched code in their own packages. As a compensating control until patched builds are deployed, avoid decoding untrusted RealMedia/RealAudio files through FFmpeg or FFmpeg-based pipelines and transcode or probe such inputs in an isolated, unprivileged process with memory address randomization treated as already compromised for that sandbox, accepting the trade-off that legitimate RealAudio content will also be blocked. Because exploitation needs the victim to open or transcode a malicious file, filtering or quarantining unsolicited .rm/.ra attachments and downloads at the mail and web gateways reduces exposure, though it does not fix the underlying decoder.

Affected VersionsENISA

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cook is the lossy audio codec used by RealAudio streams inside RealMedia containers, implemented in FFmpeg's libavcodec/cook.c. The flaw is a CWE-125 out-of-bounds read in the decode path: cook_decode_init() parses the stream extradata into per-subpacket fields including js_subband_start and subbands, but did not verify that js_subband_start stays within subbands when joint_stereo is signalled. That unchecked value is later consumed by joint_decode() (referenced at line 854 of the n9.0.2 source tree), which reads past the end of decode_buffer_0. Because the over-read data is folded into the decoded PCM output, an attacker who can recover that audio can obtain leaked pointers and decoder state useful for defeating ASLR. The upstream commit 7145d13201c9f9c5253f40295714faa4f4ada1a0 adds an explicit guard in cook_decode_init() that rejects joint-stereo subpackets where js_subband_start > subbands, logging the mismatched values and returning AVERROR_INVALIDDATA. The assessed vector is local (AV:L) with required user interaction (UI:R) and no privileges (PR:N), scoring confidentiality impact as low and integrity/availability as none.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

File must be processed locally by the victim (AV:L, UI:R); no auth needed to craft the file (PR:N); out-of-bounds read leaks limited data (C:L) with no integrity or availability impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.3 LOW

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the Cook decoder joint_decode() function because cook_decode_init() does not check js_subband_start against subbands. Attackers can supply a crafted RealMedia file whose extradata causes reads past decode_buffer_0, leaking pointers and decoder state into decoded audio to help defeat ASLR.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Ubiquitous
FFmpeg media libraries are embedded across countless players, servers, and apps
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy