[HIGH 7.3] # CVE-2026-135709: FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c b...
CVE-2026-135709 · severity: HIGH · CVSS 7.3 (v4.0)
Description
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.
Details
- status: Awaiting Analysis
- published: 2026-11-23 23:17 EST
- last modified: 2026-11-24 08:17 EST
- weakness: CWE-787
- vector:
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD: CVE-2026-135709
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252
- https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3
- https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c
-- EOF --