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のネイティブPNGおよびAPNGエンコーダーに、ヒープ領域の範囲外書き込みの脆弱性があります。細工されたeXIfチャンクを含むPNG画像により、ヒープメモリが破壊されてプロセスが停止したり、任意のコードを実行されたりするおそれがあります。対象はFFmpeg 8.1.2までで、コミットb506fafで修正されています。最新の情報を確認してください。
FFmpegでのヒープアウトオブバウンズ書き込みの脆弱性。
PNGおよびAPNGエンコーダ内で発生。
リモート攻撃者が任意のコードを実行可能なため、重大。CVSSスコアは8.8。
脆弱性はcommit b506fafで修正されている。最新バージョンにアップデートすることで対策可能。
情報なし
情報なし
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-66040 ffmpeg Fix available
- Ubuntu UBUNTU-CVE-2026-66040 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 8.1.2, fixed in commit b506faf, contains a heap out-of-bounds write vulnerability in the native PNG and APNG encoders that allows remote attackers to corrupt heap memory by supplying a crafted PNG image with a malicious eXIf chunk. Attackers can craft an eXIf chunk where multiple IFD entries reference the same large value payload, causing canonical serialization to expand the output far beyond the undersized allocation estimated by add_exif_profile_size(), resulting in png_write_chunk() writing tens of thousands of bytes past the buffer boundary, leading to deterministic heap corruption, process crash, and potentially arbitrary code execution.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- patch code.ffmpeg.org
- report code.ffmpeg.org
- web github.com
- web code.ffmpeg.org