FFmpegの脆弱性、細工された字幕ファイルで境界外書き込みのおそれ
Summary
FFmpegのDVD字幕エンコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工されたビットマップ字幕を含むファイルを変換すると、出力バッファの外に書き込まれ、ヒープメモリーが壊れるおそれがあります。影響するのは8.1.3より前のバージョンと9.0以降9.0.2より前のバージョンで、修正版の8.1.3と9.0.2が公開されています。
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のDVD字幕エンコーダーに、ヒープバッファオーバーフローの脆弱性が見つかりました。細工されたビットマップ字幕を含むファイルを変換すると、出力バッファの外に書き込まれ、ヒープメモリーが壊れるおそれがあります。影響するのは8.1.3より前のバージョンと9.0以降9.0.2より前のバージョンで、修正版の8.1.3と9.0.2が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 8.1.3→ 8.1.3 ≥ 9.0, < 9.0.2→ 9.0.2 |
8.1.3 9.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125209 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125209 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org