Skip to content
High 8.5

FFmpegのWAV出力処理に脆弱性、細工した音声で任意のコードを実行されるおそれ

CVE-2026-135722 First seen on SecPulse

Summary

FFmpegの9.1より前のバージョンには、WAVの書き出し処理にヒープバッファオーバーフローの脆弱性があります。チャンネル数がゼロの細工されたPCMストリームを読み込ませると、ヒープメモリが壊され、クラッシュや任意のコードの実行につながるおそれがあります。修正版の9.1が公開されているため、9.1以降へ更新してください。

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.1より前のバージョンには、WAVの書き出し処理にヒープバッファオーバーフローの脆弱性があります。チャンネル数がゼロの細工されたPCMストリームを読み込ませると、ヒープメモリが壊され、クラッシュや任意のコードの実行につながるおそれがあります。修正版の9.1が公開されているため、9.1以降へ更新してください。

Affected packages

PackageAffected → Fixed
FFmpegFFmpeg
< 9.1→ 9.1

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 before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and wav_write_packet() in libavformat/wavenc.c that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past peak_maxpos and peak_maxneg arrays, crashes, and potential code execution.

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