Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135709: high-severity vulnerability (CVSS 7.3) in FFmpeg FFmpeg.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.3.
Affected products and versions
FFmpeg FFmpeg < 9.1
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | < 9.1 | — |
| ffmpeg ffmpeg | < 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756 — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-ogg-buffer-data-in-oggenc-c — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Preliminary advisory published.