FFmpegのoggenc.cに範囲外書き込みの脆弱性、ヒープ破壊でクラッシュのおそれ
Summary
FFmpegのOgg出力処理で、ページ確保に失敗したあとに範囲外への書き込みが起きる脆弱性が公表されました。ヒープメモリが壊れてクラッシュするおそれがあり、9.1より前のFFmpegが対象です。修正版はFFmpeg 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のOgg出力処理で、ページ確保に失敗したあとに範囲外への書き込みが起きる脆弱性が公表されました。ヒープメモリが壊れてクラッシュするおそれがあり、9.1より前のFFmpegが対象です。修正版はFFmpeg 9.1で、利用中のバージョンを確認し、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-135709 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135709 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in libavformat/oggenc.c because ogg_buffer_page() leaves a full page current after failed allocation. When page allocation fails, a memset with length (size_t)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.
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
- patch github.com
- REDHAT Red Hat
- report code.ffmpeg.org
- web github.com
- web code.ffmpeg.org
- web github.com