{"id":"CVE-2026-125229","aliases":["CVE-2026-125229"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg through 9.0.2 Out-of-Bounds Memory Access in Huffyuv/FFVHUFF Median Predictor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-09T19:11:41.580Z","modified":"2026-11-30T16:19:56.887Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"9.0.2","status":"affected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"9.0.2"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/45f98d0819efe2b7ce93e9034b7e6a4ed6700621","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/huffyuvenc.c#L762","tags":["patch","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers (AISLE Research)","Michael Niedermayer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-14T02:06:36.688Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125229","url":"https://www.cve.org/CVERecord?id=CVE-2026-125229","licence":"CVE Terms of Use","modified":"2026-11-14T02:06:46.118Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125229","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125229","licence":"Public domain","modified":"2026-11-30T16:19:56.887Z"}],"updatedAt":"2026-11-30T16:32:16.111Z","epss":{"score":0.00161,"percentile":0.05517,"date":"2026-12-01T12:00:22.000Z"}}