{"id":"CVE-2026-125196","published":"2026-11-09T19:16:55.673","lastModified":"2026-11-10T21:46:33.830","description":"FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers.","cvssScore":7,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-122"],"vendors":[],"products":[],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/liboapvenc.c#L578","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/87cdb6cd6a8d1ec201cb82b30e64d5f946939e23","tags":[]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-liboapv-apv-encoder-wrapper","tags":[]}],"exploitRefs":[{"url":"https://github.com/FFmpeg/FFmpeg","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/liboapvenc.c#L578","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/87cdb6cd6a8d1ec201cb82b30e64d5f946939e23","tags":[]}],"hasPoc":true,"ai":null}