FFmpegのlibaribcaption処理に脆弱性、細工した字幕データでヒープが壊される
Summary
FFmpegのlibaribcaptionを使ったARIB字幕の処理に脆弱性が見つかりました。細工したARIB字幕データを読み込ませると、範囲外のメモリが読み書きされ、ヒープ領域が壊れるおそれがあります。影響を受けるのは9.0.2までのFFmpegです。修正版の情報は確認できていないため、最新の情報を確認してください。
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のlibaribcaptionを使ったARIB字幕の処理に脆弱性が見つかりました。細工したARIB字幕データを読み込ませると、範囲外のメモリが読み書きされ、ヒープ領域が壊れるおそれがあります。影響を受けるのは9.0.2までのFFmpegです。修正版の情報は確認できていないため、最新の情報を確認してください。
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.
- Debian DEBIAN-CVE-2026-125211 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125211 ffmpeg No fixed version in this record
Original description The description as published by the source.
FFmpeg through 9.0.2 contains an out-of-bounds read and invalid free vulnerability in aribcaption_trans_ass_subtitle() in libavcodec/libaribcaption.c that frees subtitle rectangles using region_count instead of num_rects. Attackers can supply crafted ARIB captions whose later region exceeds the 8 KiB AVBPrint limit, triggering cleanup that frees out-of-bounds pointers and corrupts the heap.
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