# CVE-2026-125229 - FFmpeg through 9.0.2 Out-of-Bounds Memory Access in Huffyuv/FFVHUFF Median Predictor

DevFeed: [CVE-2026-125229 - FFmpeg through 9.0.2 Out-of-Bounds Memory Access in Huffyuv/FFVHUFF Median Predictor](<https://devfeed.tech/articles/cve-2026-125229-ffmpeg-through-9-0-2-out-of-bounds-memory-access-in-huffyuv-ffvhuff-median-predictor-123963.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-125229>)

Author: CVEFEED.io; vulncheck.com

Published: 2026-11-09T19:17:00Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [FFmpeg (Fast Forward Moving Picture Experts Group)](<https://devfeed.tech/topics/ffmpeg.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-125229](<https://devfeed.tech/tags/cve-2026-125229.md>), [dimensions](<https://devfeed.tech/tags/dimensions.md>), [ffmpeg](<https://devfeed.tech/tags/ffmpeg.md>), [frame](<https://devfeed.tech/tags/frame.md>), [median](<https://devfeed.tech/tags/median.md>), [memory](<https://devfeed.tech/tags/memory.md>), [tiny](<https://devfeed.tech/tags/tiny.md>), [video](<https://devfeed.tech/tags/video.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

FFmpeg through 9.0.2 has a reported out-of-bounds memory access in the Huffyuv/FFVHUFF encoder: encode_init() does not validate minimum frame dimensions for the median predictor, so encoding tiny frames (for example, 2 pixels wide or 1-2 pixels tall) can produce negative sub_median_pred lengths and out-of-bounds reads and writes, crashing the encoder. The excerpt provides no remediation details.

## Source excerpt

CVE ID :CVE-2026-125229 Published : Nov. 9, 2026, 7:17 p.m. | 55 minutes ago Description :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. Severity: 8.5 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...