FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.
CVE-2026-135709
CVSS base score
7.0 (v3.1)
Severity
HIGH
Attack vector
Local
Weakness
CWE-787
Last modified
November 25, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
ffmpeg ffmpeg
References
- code.ffmpeg.org Issue Tracking, Patch
- github.com Product
- github.com Product
- github.com Patch
- github.com Patch
- www.vulncheck.com Third Party Advisory