FFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtpdec_h264.c#L204Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.