Skip to main content

FFmpeg CVE-2026-125228

| EUVDEUVD-2026-120178 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-09 disclosure@vulncheck.com GHSA-fcxc-3rc8-vgxj
5.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 audio with NaN float samples
  2. Delivery
    Victim transcodes via native Vorbis encoder
  3. Exploit
    Codebook entry left at -1 reaches put_vector()
  4. Execution
    Out-of-bounds heap read before array
  5. Impact
    Crash encoder or leak adjacent heap into output

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 target to encode attacker-controlled audio using FFmpeg's NATIVE Vorbis encoder (libavcodec/vorbisenc.c), not the more commonly used external libvorbis path, and the input must carry NaN float samples so the codebook entry is left at -1. Limiting factors: the vector is local (AV:L) and needs the victim/pipeline to actually run the encode step on the malicious file (UI:P), the native Vorbis encoder is FFmpeg's experimental encoder and is infrequently chosen over libvorbis, and the confidentiality impact is bounded to a small adjacent-heap over-read (VC:L) with the crash (VA:H) being the more reliable outcome. No authentication is implied to supply the file, but the attack does not reach any network-facing component on its own.

Impact

This is a medium-severity issue (vendor CVSS 4.0 base 5.8) whose real-world priority is moderate, not urgent. The provided CVSS 4.0 vector is local (AV:L) with high complexity and an attack requirement (AC:H/AT:P) and passive user interaction (UI:P), meaning a victim or pipeline must actually encode attacker-supplied audio before the flaw triggers - this is not a remotely reachable service bug. Impact is skewed toward availability (VA:H, a crash) with only low confidentiality exposure (VC:L, small adjacent-heap over-read leaked into output) and no integrity impact. No EPSS score, no CISA KEV listing, and no confirmed working exploit were supplied; the only references are the fixing commit, the pull request, and the vendor advisory, so there is no public exploit code at time of analysis. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the modest, interaction-and-local-dependent profile. Net: a genuine but non-emergency fix for most operators - real risk concentrates only where FFmpeg's native Vorbis encoder is fed untrusted audio.

Exploit ScenarioDerived

An attacker provides a crafted audio input containing NaN float samples to a service or user that transcodes it through FFmpeg's native Vorbis encoder. During floor encoding the codebook entry stays at -1, so put_vector() reads before the intended heap array, crashing the process or emitting a small slice of adjacent heap memory into the encoded output. No confirmed working exploit code was supplied - only the fixing commit and vendor advisory are referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 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

FFmpeg's native Vorbis encoder can perform an out-of-bounds read when encoding audio that contains NaN float samples, causing a crash or limited disclosure of adjacent heap memory in FFmpeg before 8.1.3 and 9.x before 9.0.2. The issue is medium-severity, with the vendor CVSS 4.0 base score at 5.8, and requires the target to run FFmpeg's experimental native Vorbis encoder on attacker-supplied audio, a local and user-interaction-dependent path rather than a network-facing service; no public exploit identified at time of analysis. The more reliable outcome is denial of service via crash, while confidentiality impact is bounded to a small over-read.

RemediationAI

Vendor-released patch: upgrade to FFmpeg 8.1.3 or 9.0.2, which contain commit e33548ad13fd3495466a651792e8206b1c6f7fd7 (PR 24392); see https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder and https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392. If upgrading immediately is not possible, avoid feeding untrusted audio to FFmpeg's native Vorbis encoder and use the external libvorbis encoder instead where feasible, accepting that encoder behavior and output may differ and that this substitution only bypasses this code path. Because exploitation requires a local and user-interaction-dependent encode step on NaN-containing audio, restricting which users or pipelines can submit files to native-Vorbis transcoding reduces exposure until the patched release is deployed.

Affected VersionsENISA

FFmpeg 9.0 <9.0.2
FFmpeg 0 <8.1.3

Affected Packages

euvd ffmpeg fix: 8.1.3, 9.0.2

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

The vulnerability is a CWE-125 out-of-bounds read in libavcodec/vorbisenc.c, FFmpeg's native (non-libvorbis) Vorbis encoder. In the floor_encode() code that feeds put_vector(), the codebook lookup variable entry is initialized to -1; when NaN float samples prevent a normal codebook match, entry remains -1 and is subsequently used to index codebook arrays, producing reads before the intended heap buffer and potentially leaking adjacent memory into encoder output. The upstream fix in commit e33548ad13fd3495466a651792e8206b1c6f7fd7 changes the initialization to entry = 0; the affected code is linked at https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915 and the change was proposed in PR 24392. This is distinct from the external libvorbis encoder path; the native encoder is FFmpeg's experimental Vorbis implementation, which limits practical exposure.

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

Victim must encode attacker-supplied audio locally (AV:L, UI:R); NaN input deterministically forces the over-read (AC:L, PR:N), leaking a little heap (C:L) and crashing the encoder (A:H).

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 20:03 EUVD
CVE Published
Nov 09, 2026 - 19:17 cve.org
MEDIUM 5.8

DescriptionCVE.org

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec underpins a vast fraction of media processing pipelines
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.1%
Patch available Yes
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

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