FFmpegのCook多チャンネルデコーダーに脆弱性、細工したファイルで任意のコードを実行される恐れ
Summary
FFmpegのCook多チャンネルデコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工したRealMedia Cookストリームを再生すると、デコード時に確保された領域を超えて書き込まれ、影響を受けるおそれがあります。影響するのは8.1.3より前のバージョンと9.0以上9.0.2より前のバージョンで、8.1.3と9.0.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のCook多チャンネルデコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工したRealMedia Cookストリームを再生すると、デコード時に確保された領域を超えて書き込まれ、影響を受けるおそれがあります。影響するのは8.1.3より前のバージョンと9.0以上9.0.2より前のバージョンで、8.1.3と9.0.2に修正版が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 8.1.3→ 8.1.3 ≥ 9.0, < 9.0.2→ 9.0.2 |
8.1.3 9.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125203 ffmpeg Fix available
- Ubuntu UBUNTU-CVE-2026-125203 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the Cook multichannel decoder in libavcodec/cook.c that fails to verify subpacket channel masks are disjoint. Attackers can supply a crafted RealMedia Cook stream with overlapping subpacket masks, causing cook_decode_frame() to write decoded samples beyond allocated output planes in any application decoding the file.
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