CVE-2026-136192 in Gpac
Summary
by MITRE • 11/24/2026
GPAC through 26.07.0 contains an infinite loop vulnerability in SDP_ParseAttribute that allows attackers to cause unbounded memory growth via a NUL byte in an a=fmtp line. Attackers can supply a crafted .sdp file or malicious RTSP DESCRIBE response to hang gf_sdp_info_parse and exhaust memory, causing denial of service.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified within GPAC versions up to 26.07.0 represents a critical flaw in the Session Description Protocol parser, specifically located within the SDP_ParseAttribute function. This component is responsible for interpreting media format parameters contained within SDP payloads, which are frequently transmitted over RTSP connections or embedded in .sdp files during multimedia streaming sessions. The core technical issue stems from an improper handling of NUL bytes when parsing attributes associated with the a=fmtp line. In standard protocol implementations, attribute values should be processed as continuous strings until a delimiter is encountered. However, due to this specific implementation error, the presence of a NUL byte within the fmtp parameter triggers an infinite loop condition rather than terminating or skipping the malformed segment correctly. This behavior deviates from expected robust parsing logic where input validation and boundary checks are strictly enforced before processing data structures.
From a technical perspective, this flaw is classified under CWE-835, which denotes loops with unreachable exit conditions, often leading to resource exhaustion. The infinite loop causes the gf_sdp_info_parse function to consume CPU cycles indefinitely while simultaneously allocating memory for each iteration of the malformed parsing attempt. As the parser continues its unbounded execution without releasing previously allocated resources or breaking out of the cycle, it results in rapid and uncontrolled memory growth on the affected system. This mechanism effectively transforms a simple input validation failure into a severe resource consumption event that can destabilize the entire application environment hosting GPAC.
The operational impact of this vulnerability is primarily centered around denial of service conditions for systems relying on GPAC for media processing or streaming services. An attacker who can supply a crafted .sdp file or inject a malicious RTSP DESCRIBE response into the communication stream can trigger this infinite loop remotely if the target system automatically parses incoming SDP data without sufficient sanitization. The resulting memory exhaustion will eventually lead to application crashes, service interruptions, or complete host unavailability depending on the available system resources and operating system limits. This aligns with ATT&CK technique T1496, Resource Hijacking, where attackers leverage computational resources to degrade performance or availability of targeted systems rather than directly compromising confidentiality or integrity.
Mitigation strategies for this vulnerability involve immediate patching to version 26.07.1 or later where the parsing logic has been corrected to handle NUL bytes appropriately within fmtp attributes. In environments where updating is not immediately feasible, network-level controls such as deep packet inspection firewalls can be configured to detect and block SDP payloads containing anomalous character sequences in media format parameters. Additionally, implementing strict input validation at the application boundary before passing data to the GPAC parser can prevent malicious inputs from reaching the vulnerable code path. Security teams should also monitor for unusual spikes in memory usage associated with gpac processes as an indicator of potential exploitation attempts targeting this specific parsing flaw.