FFmpegに脆弱性、細工した動画で範囲外へのメモリ書き込みのおそれ
Summary
FFmpegの7.1から9.0.2までに、Vulkanを使った映像デコード処理の整数オーバーフローによる脆弱性が見つかりました。細工したストリームを読み込まれると、確保されたバッファの外へデータが書き込まれ、影響を受けるおそれがあります。修正版の情報は事実に含まれていないため、最新の情報を確認してください。
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の7.1から9.0.2までに、Vulkanを使った映像デコード処理の整数オーバーフローによる脆弱性が見つかりました。細工したストリームを読み込まれると、確保されたバッファの外へデータが書き込まれ、影響を受けるおそれがあります。修正版の情報は事実に含まれていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
7.1 – 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-125249 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125249 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg 7.1 through 9.0.2 contains an integer overflow in ff_vk_decode_add_slice() in libavcodec/vulkan_decode.c that miscalculates the Vulkan hwaccel bitstream buffer size. Attackers can supply a crafted stream with over 2 GiB of slice data per frame, causing memcpy() to write past a smaller pooled host-mapped buffer.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org