JLSEC-2026-2185: FFmpeg before 9.1 contains a stack out-of-bounds read vulnerability in ff_h264_parse_framesize()...
FFmpeg before 9.1 contains a stack out-of-bounds read vulnerability in ffh264parseframesize() in libavformat/rtpdech264.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll with an FFmpeg version before 9.1 are affected when they parse SDP data associated with H.264 RTP/RTSP streams.
What attacker-controlled input is needed to trigger the vulnerability?
An attacker needs to control an RTSP server's DESCRIBE response or provide a crafted .sdp file. The SDP must contain an a=framesize attribute that lacks a height value.
Does exploitation require credentials or user interaction?
The vector indicates local access, no privileges, and user interaction. The supplied data does not specify what user action causes the vulnerable SDP or RTSP response to be processed.
What is the expected impact if exploitation succeeds?
The malformed framesize attribute can cause atoi() to read beyond the line buffer. This can crash the client and may expose stale stack bytes during parsing.