Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious RTSP server or crafted .sdp
-
ExploitReturn SDP a=framesize attribute missing height/'-'
-
Executionatoi() reads past line buffer in ff_h264_parse_framesize()
-
ImpactCrash client or disclose stale stack bytes
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 victim to process attacker-controlled SDP data in one of two ways: (1) an FFmpeg/libavformat RTSP client connecting to a malicious server whose DESCRIBE response returns an a=framesize attribute missing the height portion (the value lacks the '-<height>' separator that the patch now checks for), or (2) opening a crafted .sdp file. The flaw lies in the RTP H.264 depacketizer (libavformat/rtpdec_h264.c), so the build must include RTSP/RTP H.264 support, and the affected version is FFmpeg before 9.1. Limiting factors: user interaction is required (the victim must initiate the stream or open the file, UI:P), there is no authentication or privilege prerequisite on the attacker side (PR:N), and the impact is bounded to a stack over-read - client crash and possible disclosure of stale stack bytes - with no write, code execution, or integrity impact indicated. |
| Impact | This is a medium-severity, limited-impact bug rather than a drop-everything priority. The input CVSS 4.0 score is 6.9 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H - an out-of-bounds READ (CWE-125), so the dominant impact is availability (client crash, VA:H) with only low confidentiality exposure (VC:L, stale stack bytes) and no integrity/write primitive. No EPSS score was supplied, the CVE is NOT on CISA KEV, and no exploit code reference is present, 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 item, not act_now or emergency. The one signal worth scrutiny is the attack vector: the vendor vector is AV:L (local), but the description explicitly includes a network-reachable path - an attacker-controlled RTSP server DESCRIBE response - which argues for a network vector; both paths still require victim-initiated interaction (UI:P/UI:R), so this is a client-side, user-triggered flaw rather than a server-side remote-unauthenticated one. Net: real but low-urgency; patch on routine cadence. Verify the AV:L-vs-AV:N framing with the VulnCheck advisory if prioritizing by remote reachability. |
| Exploit ScenarioDerived | An attacker stands up a malicious RTSP server (or distributes a crafted .sdp file); when a victim's FFmpeg/libavformat-based client issues a DESCRIBE and receives an SDP containing an a=framesize attribute that lacks the height component (no '-<height>' separator), atoi() reads past the end of the line buffer, crashing the client or parsing stale stack bytes. The trigger mechanism is confirmed by the patch diff, which adds a guard returning early when the next character is not '-'. No public exploit identified at time of analysis, and the attack requires the victim to initiate the stream or open the file (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
A stack out-of-bounds read in FFmpeg's H.264 RTP depacketizer (libavformat/rtpdec_h264.c) can crash clients or leak stale stack bytes when an SDP a=framesize attribute omits the height field. FFmpeg builds before 9.1 that include RTSP/RTP H.264 support are affected; the victim must connect to a malicious RTSP server or open a crafted .sdp file, which means user interaction is required and no attacker credentials are needed. Exploitation yields only a stack over-read - denial of service and limited information disclosure - with no write, code execution, or integrity impact; a public fix commit exists, and no public exploit or active exploitation was identified at time of analysis.
RemediationAI
Upgrade to FFmpeg 9.1 or later, which contains the fix commit e5fe2cbebcb666bb132ab26d8dacbace383936c7 adding the '-' validation in ff_h264_parse_framesize(); distributions and applications that bundle libavformat should track their vendor's rebuild against 9.1 rather than assuming the system FFmpeg is patched. Where immediate upgrade is not possible, the fix is small enough to backport, and the practical attack surface can be reduced by not opening untrusted .sdp files and by restricting FFmpeg-based clients to trusted RTSP servers - noting that this only removes the delivery path, not the underlying defect, and degrades functionality for legitimate streaming use. Because impact is limited to a crash and stale stack-byte disclosure, prioritization can follow normal patch cycles rather than emergency handling. Consult the upstream commit and VulnCheck advisory for patch details: https://github.com/FFmpeg/FFmpeg/commit/e5fe2cbebcb666bb132ab26d8dacbace383936c7 and https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-out-of-bounds-read-via-ff-h264-parse-framesize.
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 libavformat library handles SDP parsing for RTSP/RTP sessions; ff_h264_parse_framesize() in libavformat/rtpdec_h264.c consumes the value of an 'a=framesize' attribute, which normally has the form '<payload type> <width>-<height>'. The vulnerable code passes the attribute string to atoi() and related parsing without first validating that the expected '-' separator preceding the height is present. When the height portion is missing, parsing runs past the end of the line buffer, producing a stack over-read (CWE-125) rather than a write. The upstream fix commit e5fe2cbebcb666bb132ab26d8dacbace383936c7 adds a guard that returns early unless the current character is '-', so malformed attributes are rejected before numeric parsing. The affected CPE is the generic ffmpeg:ffmpeg range covering all versions before 9.1; because the flaw lives in the RTP H.264 depacketizer, only builds compiled with RTSP/RTP H.264 support are in scope, and the trigger requires attacker-supplied SDP data delivered via a malicious RTSP DESCRIBE response or a crafted .sdp file.
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:H/SC:N/SI:N/SA:N
Client connecting to an attacker-controlled RTSP server makes it network-reachable (AV:N) but victim-initiated (UI:R); a stack over-read yields client crash (A:H) and low stale-byte disclosure (C:L), no write (I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg before 9.1 contains a stack out-of-bounds read vulnerability in ff_h264_parse_framesize() in libavformat/rtpdec_h264.c when parsing an SDP a=framesize attribute lacking a height. Attackers controlling an RTSP server DESCRIBE response or a crafted .sdp file can make atoi() read past the line buffer, crashing clients or parsing stale stack bytes.
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
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.
Related Vulnerabilities in FFmpeg libavformat Memory and Input Validation Flaws
View all 9FFmpeg 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-133644
GHSA-qrx8-4cxm-2wqw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB