Summary
Vulnerability in FFmpeg (CVE-2026-66040). Successful exploitation can lead to full system takeover.
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
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
FFmpeg 8.1.2以前のバージョンには、PNGおよびAPNGエンコーダ内にヒープアウトオブバウンズ書き込みの脆弱性があります。この脆弱性により、悪意のあるeXIfチャンクを含むPNG画像を使用して、リモート攻撃者がヒープメモリを破損し、任意のコードを実行する可能性があります。
FFmpegでのヒープアウトオブバウンズ書き込みの脆弱性。
PNGおよびAPNGエンコーダ内で発生。
リモート攻撃者が任意のコードを実行可能なため、重大。CVSSスコアは8.8。
脆弱性はcommit b506fafで修正されている。最新バージョンにアップデートすることで対策可能。
情報なし
情報なし
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-66040 ffmpeg
- Ubuntu UBUNTU-CVE-2026-66040 libav
References
- advisory disclosure@vulncheck.com
- patch disclosure@vulncheck.com
- patch disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com