{"id":"CVE-2026-125229","published":"2026-11-09T19:11:41Z","modified":"2026-11-14T02:06:46Z","title":"FFmpeg through 9.0.2 Out-of-Bounds Memory Access in Huffyuv/FFVHUFF Median Predictor","vendor":"FFmpeg","product":"FFmpeg","tier":"tail","description":{"text":"FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c, because encode_init() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative sub_median_pred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00128,"percentile":0.02493,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573","tags":["issue-tracking"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/45f98d0819efe2b7ce93e9034b7e6a4ed6700621","tags":["patch"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/huffyuvenc.c#L762","tags":["technical-description"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-memory-access-in-huffyuv-ffvhuff-median-predictor","tags":["third-party-advisory"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.5},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"ffmpeg","affectedVersions":[{"vendor":"FFmpeg","product":"FFmpeg","versions":["<= 9.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-14T02:06:36.688837Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120179","exploited":false,"provenance":"source"}}