Skip to main content

FFmpeg CVE-2026-135705

| EUVDEUVD-2026-133644 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-24 VulnCheck GHSA-qrx8-4cxm-2wqw
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure client to malicious RTSP server or crafted .sdp
  2. Exploit
    Return SDP a=framesize attribute missing height/'-'
  3. Execution
    atoi() reads past line buffer in ff_h264_parse_framesize()
  4. Impact
    Crash 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).

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

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

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 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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.1 HIGH

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).

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

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg/libavformat is embedded across countless media players, servers, and devices
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.

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