FFmpegのlibmodplugデマルチプレクサに脆弱性、細工したファイルでヒープバッファオーバーフローの恐れ
Summary
FFmpeg 9.1より前のバージョンには、libmodplugデマルチプレクサのヒープバッファオーバーフローの脆弱性があります。細工されたモジュールファイルを読み込まされると、メモリが壊されてクラッシュや任意のコード実行につながるおそれがあります。修正版は9.1で、利用中のFFmpegを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より前のバージョンには、libmodplugデマルチプレクサのヒープバッファオーバーフローの脆弱性があります。細工されたモジュールファイルを読み込まされると、メモリが壊されてクラッシュや任意のコード実行につながるおそれがあります。修正版は9.1で、利用中のFFmpegを9.1以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 9.1→ 9.1 |
9.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135706 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135706 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in modplug_read_header() in libavformat/libmodplug.c that allocates the buffer using max_size instead of sz. When max_size is set to 0, attackers can supply crafted module files that avio_read() copies into a zero-sized buffer, causing memory corruption, crashes, or possible code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- report code.ffmpeg.org
- web github.com
- web code.ffmpeg.org
- web github.com