| 제목 | GPAC GPAC 26.03-DEV-rev342-g80071f700-master Divide By Zero |
|---|
| 설명 | A divide-by-zero denial-of-service vulnerability exists in GPAC 26.03-DEV-rev342-g80071f700-master when processing TeXML subtitle files. The issue is located in src/filters/load_text.c. GPAC parses the TeXML root attribute timeScale using atoi() and assigns it to ctx->txml_timescale without validating that the value is non-zero. Later, during duration probing, GPAC uses ctx->txml_timescale as a divisor. If an attacker supplies a crafted TeXML file with timeScale="0", GPAC triggers a division-by-zero error and terminates.
The vulnerable code path is in txtin_texml_setup(), where timeScale is assigned without validation, and in txtin_probe_duration(), where ctx->txml_timescale is used as a divisor. This allows an attacker to craft a malicious TeXML subtitle file that reliably crashes the gpac process when the file is imported or processed.
The demonstrated impact is denial of service. Exploitation requires no authentication; an attacker only needs to provide a crafted TeXML file and convince a user or automated workflow to process it with GPAC. The issue was reproduced reliably using the same PoC and command. |
|---|
| 원천 | ⚠️ https://github.com/gpac/gpac/issues/3610 |
|---|
| 사용자 | Fantasy_2026 (UID 98691) |
|---|
| 제출 | 2026. 06. 07. AM 08:16 (29 날 ago) |
|---|
| 모더레이션 | 2026. 07. 05. PM 09:08 (29 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 376395 [GPAC 26.03-DEV-rev342-g80071f700-master TeXML File src/filters/load_text.c txtin_probe_duration txml_timescale 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|