Skip to content
High 8.5

FFmpegのHuffyuv・FFVHUFFで範囲外メモリアクセスの脆弱性、細工した動画で異常終了のおそれ

CVE-2026-125229 First seen on SecPulse

Summary

FFmpeg 9.0.2以前のHuffyuv・FFVHUFFエンコーダーには、幅2ピクセルなど極端に小さい動画を変換すると範囲外のメモリにアクセスする脆弱性があります。細工された動画を変換させられると、エンコーダーが異常終了するおそれがあります。修正版の有無は事実に含まれていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

FFmpeg 9.0.2以前のHuffyuv・FFVHUFFエンコーダーには、幅2ピクセルなど極端に小さい動画を変換すると範囲外のメモリにアクセスする脆弱性があります。細工された動画を変換させられると、エンコーダーが異常終了するおそれがあります。修正版の有無は事実に含まれていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
FFmpegFFmpeg
≤ 9.0.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details