| Title | GPAC GPAC 26.03-DEV-rev342-g80071f700-master Divide By Zero |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/gpac/gpac/issues/3610 |
|---|
| User | Fantasy_2026 (UID 98691) |
|---|
| Submission | 06/07/2026 08:16 (29 days ago) |
|---|
| Moderation | 07/05/2026 21:08 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 376395 [GPAC 26.03-DEV-rev342-g80071f700-master TeXML File src/filters/load_text.c txtin_probe_duration txml_timescale divide by zero] |
|---|
| Points | 20 |
|---|