CVE-2026-135709

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

25 Nov 2026, 19:05

Type Values Removed Values Added
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252 - Product
References () https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3 - () https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756 - () https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756 - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c - () https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c - Third Party Advisory
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
First Time Ffmpeg ffmpeg
Ffmpeg

24 Nov 2026, 04:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-24 04:17

Updated : 2026-11-25 19:05


NVD link : CVE-2026-135709

Mitre link : CVE-2026-135709

CVE.ORG link : CVE-2026-135709


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-787

Out-of-bounds Write