Back to the CVE library

CVE-2026-125229

FFmpeg through 9.0.2 Out-of-Bounds Memory Access in Huffyuv/FFVHUFF Median Predictor

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.

Public vulnerability details

Record state
Published
Published (UTC)
Last updated (UTC)
Assigned by
VulnCheck
CVSS score
8.5 (CVSS v4.0, from VulnCheck)
Severity
HIGH
CISA KEV
No KEV entry in this record. This does not show that the CVE is absent from the KEV catalog.
Additional data from
None

FHE assessment

No FHE assessment is available in this application yet. This does not mean FHE cannot mitigate an impact of this CVE.

References

Source

CVE JSON 5.2 record from the CVE List archive 2026-11-09_delta_CVEs_at_end_of_day.zip, which covers changes through . Imported .