CVE-2026-135705
FFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- 0.45% (p31)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-28
- Product
- FFmpeg FFmpeg
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
9.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | FFmpeg | >=0, <9.1 | 9.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916 issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/e5fe2cbebcb666bb132ab26d8dacbace383936c7 patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtpdec_h264.c#L204 technical-description
- https://github.com/FFmpeg/FFmpeg product
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-stack-out-of-bounds-read-via-ff-h264-parse-framesize third-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135705.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135705 advisory