FFmpegに脆弱性、細幅のRGB動画の変換で細工されたデータによりヒープ領域を破壊されるおそれ
Summary
FFmpegのRISC-V向けベクター命令の処理に、ヒープバッファオーバーフローの脆弱性が見つかりました。細幅のRGB動画をHuffyuvで変換させられると、エンコーダーの一時バッファを越えて書き込まれ、ヒープ領域が壊れるおそれがあります。影響するのは7.0以上9.0.2までのFFmpegです。修正版の情報は公表されていないため、最新の情報を確認してください。
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のRISC-V向けベクター命令の処理に、ヒープバッファオーバーフローの脆弱性が見つかりました。細幅のRGB動画をHuffyuvで変換させられると、エンコーダーの一時バッファを越えて書き込まれ、ヒープ領域が壊れるおそれがあります。影響するのは7.0以上9.0.2までのFFmpegです。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
7.0 – 9.0.2→ Not listed |
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.
- Debian DEBIAN-CVE-2026-125256 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125256 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org