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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"< 9.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135709",
"id": "CVE-2026-135709",
"imported": "2026-12-02T20:13:53.552Z",
"modified": "2026-11-25T19:05:19.310Z",
"published": "2026-11-24T04:17:27.830Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-135709"
},
{
"html_url": "https://github.com/advisories/GHSA-8q7x-399m-x4rm",
"id": "GHSA-8q7x-399m-x4rm",
"imported": "2026-12-02T20:14:24.170Z",
"modified": "2026-11-24T06:30:40Z",
"published": "2026-11-24T06:30:30Z",
"url": "https://api.github.com/advisories/GHSA-8q7x-399m-x4rm"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 <9.1"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-133640",
"id": "EUVD-2026-133640",
"imported": "2026-12-02T20:13:54.633Z",
"modified": "2026-11-24T12:24:25Z",
"published": "2026-11-24T03:14:07Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-133640"
}
]
}