Web Application
CVE-2026-66040 high CVSS 8.8

Vulnerability in FFmpeg (CVE-2026-66040)

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画像を使用して、リモート攻撃者がヒープメモリを破損し、任意のコードを実行する可能性があります。

❓ What is the problem

FFmpegでのヒープアウトオブバウンズ書き込みの脆弱性。

📍 Affected scope

PNGおよびAPNGエンコーダ内で発生。

🔥 Severity

リモート攻撃者が任意のコードを実行可能なため、重大。CVSSスコアは8.8。

🔧 How to fix

脆弱性はcommit b506fafで修正されている。最新バージョンにアップデートすることで対策可能。

🛡️ Workaround

情報なし

🔍 Detection

情報なし

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details