Skip to content
High 8.8 Web Application

Vulnerability in FFmpeg

CVE-2026-66040 First seen on SecPulse

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で修正されています。最新の情報を確認してください。

What is the problem

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

Affected scope

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

Severity

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

How to fix

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

Workaround

情報なし

Detection

情報なし

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

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

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