CVE-2026-135703 in FFmpeginfo

Summary

by MITRE • 11/24/2026

FFmpeg before 9.1 contains an uninitialized memory use vulnerability in asfrtp_parse_packet() in libavformat/rtpdec_asf.c that allows malicious RTP sources to leak heap contents by supplying an oversized ASF packet length. Attackers controlling an RTSP server with an x-asf-pf payload can set len_off beyond the RTP payload so the ASF demuxer returns stale heap memory as demuxed media data.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified in FFmpeg versions prior to 9.1 represents a critical uninitialized memory use flaw located within the asynchronous streaming format real-time transport protocol decoder, specifically inside the libavformat/rtpdec_asf.c module. This component is responsible for parsing RTP packets that carry Advanced Systems Format data streams. The core technical deficiency arises from improper validation of packet length fields during the demuxing process. When an attacker supplies a maliciously crafted RTSP stream containing an x-asf-payload, they can manipulate the len_off parameter to exceed the actual boundaries of the provided RTP payload. This manipulation causes the ASF demuxer logic to proceed without properly initializing or validating the memory buffer intended for storing the parsed media data. Consequently, instead of returning empty space or triggering a bounds-check error as expected in secure implementations, the function returns pointers to uninitialized heap memory regions that were previously allocated but not cleared.

From an operational perspective, this flaw enables remote attackers who control a malicious RTSP server to perform arbitrary heap information disclosure attacks against clients using vulnerable versions of FFmpeg. By leveraging this vulnerability, an attacker can extract sensitive data residing in adjacent heap blocks, which may include cryptographic keys, session tokens, private user credentials, or other proprietary application state information. The impact extends beyond simple data leakage; the exposure of internal memory structures can facilitate further exploitation vectors such as heap corruption analysis or aiding in bypassing security mitigations like Address Space Layout Randomization by revealing base addresses and allocation patterns. This type of vulnerability is particularly dangerous because it allows for non-deterministic behavior where the leaked content depends on prior memory allocations, making detection through standard logging difficult without specialized monitoring tools.

In terms of industry classification standards, this issue aligns with CWE-908, which denotes Use of Uninitialized Resource, and more broadly falls under CWE-125 Out-of-bounds Read when considering the access beyond the allocated payload boundary. The attack vector is categorized within MITRE ATT&CK framework as T1005 Data from Local System Extraction, specifically leveraging network-based delivery mechanisms to exfiltrate data from memory. The exploitation requires a man-in-the-middle position or direct control over the media source server, indicating that while the technical severity is high due to the potential for significant information disclosure, the attack complexity involves establishing trust with the victim application through malicious streaming endpoints.

Mitigation strategies primarily involve upgrading FFmpeg to version 9.1 or later where this specific logic error in asfrtp_parse_packet has been corrected by implementing strict bounds checking on packet lengths before processing. For environments unable to immediately upgrade, defensive measures include deploying network intrusion detection systems capable of identifying anomalous RTSP traffic patterns with oversized payload headers and restricting media source connections to trusted domains only. Additionally, enabling ASLR and heap hardening features in the underlying operating system can reduce the utility of leaked memory contents for subsequent exploitation attempts, although these are compensatory controls rather than definitive fixes for the root cause vulnerability.

Responsible

VulnCheck

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00444

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!