Skip to content
High 8.5

FFmpegのGIFエンコーダーにヒープバッファオーバーフローの脆弱性、細工した動画で任意のコードを実行されるおそれ

CVE-2026-125250 First seen on SecPulse

Summary

FFmpeg 9.0.2までのGIFエンコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工したPAL8動画をGIFへ変換すると、ヒープ領域が壊れるおそれがあります。CVSS v3.1は7.8、v4.0は8.5で、悪用は確認されていません。修正版の情報は確認できていないため、最新の情報を確認してください。

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 9.0.2までのGIFエンコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工したPAL8動画をGIFへ変換すると、ヒープ領域が壊れるおそれがあります。CVSS v3.1は7.8、v4.0は8.5で、悪用は確認されていません。修正版の情報は確認できていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
FFmpegFFmpeg
≤ 9.0.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

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 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing remap_frame_to_palette() to write past shrunk_buf and corrupt the heap during GIF transcoding.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

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