Skip to main content

FFmpeg CVE-2026-135714

| EUVDEUVD-2026-133635 MEDIUM
Use of Uninitialized Variable (CWE-457)
2026-11-24 VulnCheck GHSA-fjf2-3gr9-j348
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure FFmpeg to malicious RTMP endpoint
  2. Delivery
    Send truncated onStatus/_error AMF string
  3. Exploit
    Trigger over-length NUL termination
  4. Execution
    Emit uninitialized stack bytes to logs
  5. Impact
    Recover leaked memory from log output

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization checks
Exploitation Conditions

Requires an FFmpeg build before 9.1 to communicate over RTMP with an attacker: either the victim connects out to a malicious RTMP server, or FFmpeg is run in RTMP listen mode and accepts a malicious client (this is the specific protocol/deployment path - ordinary non-RTMP use of FFmpeg is unaffected). The attacker sends onStatus or _error AMF strings whose declared length is larger than the bytes actually provided, so truncated strings are NUL-terminated at the declared length. Limiting factors: the leaked uninitialized stack memory is disclosed through FFmpeg's log messages, so an attacker only gains the data if they can observe those logs and logging is at a level that emits these strings; exploitation needs the victim to initiate or accept the RTMP connection (UI:P/passive interaction); impact is confined to a low-confidentiality stack-memory leak with no integrity or availability effect and no authentication bypass.

Impact

Signals are mostly consistent and point to a low-to-moderate, non-urgent issue. The CVSS 4.0 base score is 4.8 (medium) with a vector of AV:L/AC:L/AT:N/PR:N/UI:P and only low confidentiality impact (VC:L, VI:N, VA:N), i.e. a bounded leak of uninitialized stack memory and no integrity or availability effect. The vuln.today decision label is 'this_month' (not act_now or emergency), there is no CISA KEV listing, and no EPSS score was supplied, so there is no evidence of active or widespread exploitation. CWE-457 (use of uninitialized memory) matches the described mechanism, which is independently confirmed by the vendor source diff. One tension worth noting: the description frames the attacker as a remote RTMP peer (network-delivered data) yet the vendor chose AV:L - this most likely reflects that the leaked bytes only become an actual disclosure once they surface in FFmpeg's log output, which an attacker generally needs local or shared access to read, rather than receiving the data back directly. Net assessment: a genuine but low-priority information-disclosure bug suitable for routine patching, not an emergency; its main value to an attacker is as an ASLR/secret-leak primitive chained with other flaws.

Exploit ScenarioDerived

An operator runs an FFmpeg-based client that connects to an attacker-controlled RTMP server (or runs FFmpeg in RTMP listen mode and accepts a malicious client). The server returns onStatus or _error AMF strings whose declared length exceeds the bytes actually transmitted, so amf_get_field_value2() NUL-terminates past the real data and emits uninitialized stack bytes into FFmpeg's log messages. No confirmed working exploit code is published, but VulnCheck has documented the flaw and a vendor patch exists.

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

Information disclosure in FFmpeg before 9.1 allows an attacker who controls an RTMP peer to leak uninitialized stack memory through FFmpeg log messages. The flaw affects RTMP AMF string parsing in libavformat/rtmppkt.c; a malicious RTMP server, or a malicious client connecting to FFmpeg in RTMP listen mode, can send truncated onStatus or _error strings whose declared length exceeds the bytes actually supplied. The assessed impact is low confidentiality only, with no integrity or availability effect; user interaction is required in the sense that the victim must initiate or accept the RTMP connection. A vendor patch is available in FFmpeg 9.1, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: FFmpeg 9.1. Upgrade to FFmpeg 9.1 or later, or apply the upstream fix commit 09282853e82a1a881e7e5b061030063f48df2b95 referenced by PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916. Until patched, do not connect FFmpeg's RTMP client to untrusted servers and do not expose RTMP listen mode to untrusted clients; restrict network access to trusted RTMP peers and avoid processing attacker-supplied onStatus or _error AMF strings. Because the leaked stack data is disclosed through FFmpeg log messages, limiting log visibility and verbosity reduces exposure but does not fix the uninitialized read. See the VulnCheck advisory https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-stack-memory-disclosure-via-rtmp-amf-strings for additional context.

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 RTMP support parses AMF control messages such as onStatus and _error in libavformat/rtmppkt.c. In amf_get_field_value2(), the vulnerable code called bytestream2_get_buffer(gb, dst, len) but did not update len to the number of bytes actually read before NUL-terminating the string, so a truncated AMF string could be terminated at its declared length rather than at the bytes received. This is CWE-457, use of uninitialized stack memory: bytes beyond the received data remain uninitialized and can be included in FFmpeg log output. The upstream fix assigns the return value back to len (len = bytestream2_get_buffer(gb, dst, len)), ensuring termination is based on bytes actually read. The CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* identifies FFmpeg broadly; the affected path is RTMP handling before 9.1, while ordinary non-RTMP FFmpeg use is not described as affected.

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

Malicious data is RTMP-delivered but the disclosure is realized through locally-readable logs, so AV:L; victim must initiate or accept the connection (UI:R); only a low stack-memory leak, hence C:L and I:N/A:N.

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 before 9.1 contains an information disclosure vulnerability in amf_get_field_value2() in libavformat/rtmppkt.c that NUL-terminates truncated AMF strings at the declared length instead of bytes read. A malicious RTMP server, or connecting client in listen mode, can send truncated onStatus or _error strings to leak uninitialized stack memory through log messages.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is a multimedia library embedded across countless applications and platforms
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

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

Attack Technique

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