Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure FFmpeg to malicious RTMP endpoint
-
DeliverySend truncated onStatus/_error AMF string
-
ExploitTrigger over-length NUL termination
-
ExecutionEmit uninitialized stack bytes to logs
-
ImpactRecover 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-133635
GHSA-fjf2-3gr9-j348
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB