Skip to main content

FFmpeg CVE-2026-125194

| EUVDEUVD-2026-120283 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-09 disclosure@vulncheck.com GHSA-h2q6-qcj5-6cf5
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted 24-bit 48/96 kHz audio
  2. Exploit
    Victim transcodes to pcm_dvd codec
  3. Execution
    Short final frame wraps loop counter
  4. Impact
    Out-of-bounds read crashes process

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 FFmpeg (through 9.0.2) to be invoked to encode to the DVD PCM codec (pcm_dvd) with a 24-bit sample format at 48 kHz or 96 kHz, and the attacker-supplied input must be sized so the final frame holds fewer samples than one block. Limiting factors that reduce realistic risk: the attack is local (AV:L) and needs passive user interaction (UI:P) - a victim must actively transcode the malicious file; the vulnerable path is the DVD PCM encoder specifically, a rarely-used output mode rather than a default; and the impact is limited to a process crash (denial of service) with no code execution, memory write, or data disclosure. No authentication is required (PR:N), but the flaw is not remotely triggerable on its own.

Impact

All decision signals point to a genuine but low-urgency issue rather than a top priority. The CVSS 4.0 base score of 6.8 is driven entirely by availability (VA:H) with VC:N and VI:N - i.e. a crash/denial-of-service of the transcoding process, not code execution or data exposure. The vector is local (AV:L) and requires passive user interaction (UI:P): a victim must run FFmpeg to encode attacker-supplied audio. No CISA KEV listing, no EPSS score, and no exploitation signal are present in the input, and no PoC or working exploit is referenced - only the upstream fix PR and commit. The vuln.today Decision label is 'this_month,' consistent with a moderate, non-emergency item. Note a conflict: the input Tags assert 'Buffer Overflow' and 'Information Disclosure,' but the CVSS vector (VC:N) and the description (CWE-125 out-of-bounds read causing a crash) indicate neither memory corruption/overflow nor confidentiality loss - the real impact is availability only; treat the tags as mislabeled, not as evidence of info disclosure.

Exploit ScenarioDerived

An attacker crafts a 24-bit, 48 kHz or 96 kHz audio stream whose total length leaves a final frame holding fewer samples than one block. When a victim transcodes this file to the DVD PCM codec with FFmpeg (through 9.0.2), the block loop counter wraps, triggering an out-of-bounds read in pcm_dvd_encode_frame() and crashing the transcoding process. No public PoC or working exploit is identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Nov 09, 2026

An out-of-bounds read in FFmpeg's DVD PCM encoder (pcm_dvd_encode_frame() in libavcodec/pcm-dvdenc.c) crashes the transcoding process when a 24-bit 48 kHz or 96 kHz input ends with a final frame containing fewer samples than one block, causing a loop counter to wrap. All FFmpeg builds through 9.0.2 are affected (EUVD: FFmpeg 0 ≤ 9.0.2); exploitation requires the victim to actively invoke a transcode to the pcm_dvd codec on a crafted file, so the attack is local with passive user interaction and unprivileged (CVSS 3.1 AV:L/AC:L/PR:N/UI:R, availability-only impact). The result is limited to a denial of service - no code execution, memory write or data disclosure - and no public exploit has been identified at time of analysis, though an upstream fix commit exists.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit cfe6a6cd7de59341a70ebe6a2d477f3281aec834 (merged via https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25694), which adds an early return when the computed block count is zero, and rebuild; since no tagged release beyond 9.0.2 is identified in the available data, verify the commit is present in whatever build or downstream package you ship rather than assuming a version number. Where the fix cannot be deployed immediately, the exposure is defined by the vulnerable mode itself: avoid transcoding untrusted input through the pcm_dvd encoder at 24-bit 48 kHz or 96 kHz (fall back to 16-bit PCM or another PCM/output codec, at the cost of different output fidelity), or ensure input is framed so the final frame never holds fewer samples than one block. Because the observable effect is a process crash, run untrusted transcodes in an isolated worker with crash supervision and restart so a single malformed file cannot take down a shared pipeline; these are containment measures, not substitutes for the encoder fix.

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

FFmpeg's pcm_dvdenc encoder wraps raw PCM samples into the block-structured payload used by the DVD PCM (pcm_dvd) codec, a rarely selected output mode rather than a default. The flaw is CWE-125 (out-of-bounds read): when a 24-bit, 48 kHz or 96 kHz stream is sized such that the final frame holds fewer samples than one full block, the computed block count for that frame reaches zero and the loop counter wraps, driving the encoder to index past the sample buffer. The upstream fix in libavcodec/pcm-dvdenc.c (commit cfe6a6cd7de59341a70ebe6a2d477f3281aec834) is a three-line guard that returns early when the block count is zero - confirming the root cause is an unhandled zero-block short frame rather than a memory-write condition. Because the read is out of bounds on the encoder side during a transcode, consequence is process termination (CVSS 3.1 A:H, C:N/I:N), not code execution; the trigger path requires the pcm_dvd encoder to be selected with 24-bit sample format at 48/96 kHz, and the exact memory layout behaviour beyond the crash is not described in the available sources.

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 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local attacker-supplied file processed by a victim's transcode (AV:L, UI:R), no privileges needed (PR:N); only a crash, so A:H with C:N/I:N.

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

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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
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 pcm_dvd_encode_frame() in libavcodec/pcm-dvdenc.c when a 24-bit final frame holds fewer samples than one block. Attackers can supply 24-bit 48 or 96 kHz audio whose length leaves a short final frame, causing the loop counter to wrap and crash the transcoding process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg underpins media processing across most platforms, distributions, and services
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.2%
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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

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