Stack Out-of-Bounds Read Vulnerability in FFmpeg by VideoLAN
CVE-2026-135705
6.9MEDIUM
What is CVE-2026-135705?
FFmpeg versions prior to 9.1 include a vulnerability in the function ff_h264_parse_framesize(), located in libavformat/rtpdec_h264.c, which allows for a stack out-of-bounds read condition. This flaw occurs when parsing a malformed SDP a=framesize attribute that does not specify a height, potentially leading to unauthorized access to sensitive data from the stack or application crashes. Attackers can exploit this vulnerability by controlling a malicious RTSP server's DESCRIBE response or by providing a specially crafted .sdp file, which causes the atoi() function to read beyond the intended buffer, impacting client stability and security.
Affected Version(s)
FFmpeg 0 < 9.1
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Michael Niedermayer
