Skip to main content

FFmpeg CVE-2026-135716

| EUVDEUVD-2026-133633 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-24 VulnCheck GHSA-xr55-r994-qgh4
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft input with many audio streams
  2. Delivery
    Victim remuxes file to NUT via FFmpeg
  3. Exploit
    Overflow header_len[] in build_frame_code()
  4. Execution
    Out-of-bounds read past static header tables
  5. Impact
    Crash application (denial of service)

Vulnerability Assessment

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

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Exploitation requires that FFmpeg actually remux/encode a crafted input containing many audio streams to the NUT container format (libavformat/nutenc.c); the flaw is in the NUT muxer's build_frame_code(), so a different output format does not reach the vulnerable code. Per the CVSS vector this is local (AV:L) with no privileges (PR:N) but requires passive user interaction (UI:P) - i.e. the victim or an automated pipeline must process/convert the attacker-supplied file. Limiting factors: the attacker must control the input file and the output must target NUT (a non-default muxer), the vector is local rather than network-reachable, and the realistic outcome is a crash (denial of service) rather than confirmed code execution. Affected versions are FFmpeg before 9.1; updating to 9.1 is the fix per the vendor commit.

Impact

This is a moderate, availability-focused issue rather than a top-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H, score 6.9) describes a local attack requiring passive user interaction (UI:P) where the dominant impact is availability (VA:H, i.e. a crash) with only low confidentiality and integrity impact. No EPSS score was provided, so statistical exploitation probability cannot be weighed. The CVE is NOT in CISA KEV and no PoC or exploit reference is present in the input - only the fixing commit, the upstream pull request, and the VulnCheck advisory - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' consistent with a patch-on-normal-cycle priority rather than act_now/emergency. The key limiting factor is the trigger path: the application must be remuxing a crafted, many-audio-stream input specifically to the NUT container format, which is not a common default output, so real-world blast radius is narrower than FFmpeg's overall footprint would suggest. Missing data: no EPSS, no KEV, no independent confirmation of exploit code - these should be noted before escalating priority.

Exploit ScenarioDerived

An attacker crafts a media file containing a large number of audio streams and induces a victim or an automated media pipeline to remux it to the NUT container format using FFmpeg. During muxing, build_frame_code() in nutenc.c overflows the header_len[] array, leading to out-of-bounds reads past static header tables and crashing the process. No public exploit code was identified in the provided sources; exploitation also depends on local file processing and selection of the NUT output muxer.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

An out-of-bounds write in FFmpeg's NUT muxer before 9.1 can crash the process and corrupt memory when a crafted input containing many audio streams is remuxed or encoded to the NUT container. The flaw is in libavformat/nutenc.c's build_frame_code(), which corrupts the header_len[] array; exploitation is local, requires the crafted file to be processed, and is realistically an availability-focused denial of service. No public exploit was identified at time of analysis, and this is a moderate, availability-focused issue rather than a top-priority emergency.

RemediationAI

Upgrade to FFmpeg 9.1 or later; the vendor advisory and fixing commit identify 9.1 as the fixed release, and the patch is available from the vendor. If upgrading immediately is not possible, avoid remuxing or encoding untrusted inputs to the NUT container, because the flaw is in the NUT muxer and other output formats do not execute build_frame_code(); this trade-off disables NUT output but preserves other FFmpeg functionality. Downstream maintainers can also apply the upstream commit https://github.com/FFmpeg/FFmpeg/commit/52b653190c001e132ef35ee6f113b0f413d16e79 or PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932.

Affected VersionsENISA

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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 libavformat NUT muxer builds a frame-code table in build_frame_code() to map stream and frame types to compact codes. CWE-787 (out-of-bounds write) occurs because the code partitions the available frame-code range across all streams without properly accounting for the limited number of table entries, so an input with many audio streams can write past or read past the static header_len[] table. The upstream fix computes nb_frame_code_streams = FFMIN(s->nb_streams, (end - start) / 6), limits the frame-code loop to that count, and divides the code range by that count; it also widens Syncpoint.stream_id to int and replaces the decoder's fixed NUT_MAX_STREAMS check with s->max_streams. The vulnerable code is reached only when the output container is NUT, so remuxing or encoding to a different output format does not execute this muxer path.

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

Local processing of an attacker-supplied file remuxed to NUT requires the victim to run the conversion (AV:L, UI:R, PR:N); impact is chiefly a crash (A:H) with limited memory corruption/disclosure (C:L/I:L).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 6.6 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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg before 9.1 contains an out-of-bounds write vulnerability in build_frame_code() in libavformat/nutenc.c that allows attackers to corrupt the header_len[] array by supplying inputs with many audio streams. Attackers can remux a crafted input with many audio streams to NUT, causing out-of-bounds reads past static header tables and crashing the application.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
FFmpeg/libav is a near-ubiquitous media library, though NUT muxing is an uncommon output path
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL 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 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

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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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