| 标题 | gpac v2.4.0 Out-of-bounds Write |
|---|
| 描述 | When MP4Box imports SRT subtitles through the BIFS scene pipeline (-mp4 <scene>.bt with MuxInfo{textNode,fontNode}), gf_text_import_srt_bifs() converts subtitle text into UTF-8-like output but writes into a fixed stack buffer char szText[2048] without bounds checking. With crafted input (many high-bit bytes), the conversion expands the output and triggers an out-of-bounds write.
UBSan reports:
runtime error: index 2048 out of bounds for type 'char [2048]' inside gf_text_import_srt_bifs(). |
|---|
| 来源 | ⚠️ https://github.com/gpac/gpac/issues/3425 |
|---|
| 用户 | Kery Qi (UID 94424) |
|---|
| 提交 | 2026-01-12 13時57分 (3 月前) |
|---|
| 管理 | 2026-01-25 10時58分 (13 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 342807 [GPAC 直到 2.4.0 SRT Subtitle Import text_to_bifs.c gf_text_import_srt_bifs 内存损坏] |
|---|
| 积分 | 20 |
|---|