FFmpegのDVB字幕エンコーダーに脆弱性、ヒープバッファオーバーフローで細工したファイルから攻撃を受けるおそれ
Summary
FFmpeg 9.0.2までのDVB字幕エンコーダー(dvbsub_encode)に、CLUTセグメントのヘッダーサイズを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 9.0.2までのDVB字幕エンコーダー(dvbsub_encode)に、CLUTセグメントのヘッダーサイズを2バイト少なく数えるヒープバッファオーバーフローの脆弱性が見つかりました。ビットマップ字幕を多く含む細工されたファイルを変換すると、出力バッファを越えて書き込みが起き、ヒープメモリが壊れるおそれがあります。修正版の有無は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
≤ 9.0.2→ Not listed |
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.
- Alpine Linux ALPINE-CVE-2026-125233 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-125233 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125233 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in dvbsub_encode() in libavcodec/dvbsubenc.c that undercounts each CLUT segment header by two bytes. Attackers can supply a file with many bitmap subtitle rectangles that, when transcoded to the dvbsub encoder, writes past the output buffer and corrupts 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