| Titre | gpac v2.4.0 Out-of-bounds Write |
|---|
| Description | 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(). |
|---|
| La source | ⚠️ https://github.com/gpac/gpac/issues/3425 |
|---|
| Utilisateur | Kery Qi (UID 94424) |
|---|
| Soumission | 12/01/2026 13:57 (il y a 3 mois) |
|---|
| Modérer | 25/01/2026 10:58 (13 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 342807 [GPAC jusqu’à 2.4.0 SRT Subtitle Import text_to_bifs.c gf_text_import_srt_bifs buffer overflow] |
|---|
| Points | 20 |
|---|