CVE-2026-125182

FFmpeg through 9.0.2 Out-of-Bounds Read via Cook Decoder js_subband_start

Published Nov 9, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an out‑of‑bounds read in FFmpeg’s Cook decoder joint_decode() function because cook_decode_init() does not validate the js_subband_start parameter against the number of subbands. An attacker can craft a RealMedia file whose extradata causes the decoder to read past decode_buffer_0. The overread leaks pointers and decoder state into the decoded audio stream, which an adversary could use to facilitate ASLR bypass. This flaw is classified as CWE‑125.

Affected Systems

All FFmpeg distributions that include the Cook decoder without the missing bound check, i.e., FFmpeg versions up through 9.0.2. Any platform or application that embeds these releases and processes RealMedia files may be impacted.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score is not available and the vulnerability is not listed in CISA KEV, showing no known exploitation evidence. Exploitation requires a specially crafted RealMedia file and can be delivered via file upload, media streaming, or local file access. While it does not directly provide code execution, the memory leakage can aid a follow‑up attack to defeat ASLR, creating a moderate overall risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0.3 or newer to incorporate the missing bounds check on js_subband_start.
  • If an upgrade is not immediately possible, apply the documented patch commit 7145d13201c9f9c5253f40295714faa4f4ada1a0 to the source code and rebuild FFmpeg.
  • Configure the application to reject or strictly filter RealMedia files from untrusted sources, preventing the malformed input from reaching the Cook decoder.

Generated by OpenCVE AI on November 9, 2026 at 22:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FFmpeg through 9.0.2 Out-of-Bounds Read via Cook Decoder js_subband_start
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 12:48 PM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 7:16 PM
Modified
Nov 25, 2026, 3:02 PM