Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | < 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtpdec_h264.c#L204
- https://github.com/FFmpeg/FFmpeg/commit/e5fe2cbebcb666bb132ab26d8dacbace383936c7
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-out-of-bounds-read-via-ff-h264-parse-framesize
Timeline
- Published
- Nov 24, 2026
- Last modified
- Nov 27, 2026
- NVD status
- Analyzed