Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | < 9.1 |
Related Weaknesses (CWE)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/oggenc.c#L252Product
- https://github.com/FFmpeg/FFmpeg/commit/6d40aa17395aaba80922441bcfb58399a88475e3Patch
- https://github.com/FFmpeg/FFmpeg/commit/a659cd842b122e2f41973ac7c4e826426cc0d756Patch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-out-of-bounds-write-via-oThird Party Advisory
FAQ
What is CVE-2026-135709?
CVE-2026-135709 is a vulnerability with a CVSS score of 7.0 (HIGH). 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 all...
How severe is CVE-2026-135709?
CVE-2026-135709 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-135709?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.