CVE-2026-142781: GPAC through 26.07.0 Out-of-Bounds Read in vobsub_get_subpic_duration Command Loop
GPAC through 26.07.0 contains an out-of-bounds read vulnerability in vobsubgetsubpicduration() that allows attackers to read past heap buffers by supplying crafted VobSub files. Attackers can craft a .idx/.sub pair whose control sequence commands end exactly at the packet end without termination, causing a one-byte heap over-read that crashes the application.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using GPAC through 26.07.0 are exposed when they process attacker-supplied VobSub subtitle files. Exploitation requires a crafted .idx/.sub file pair to be opened or otherwise processed by the affected code.
What is the practical impact of successful exploitation?
The reported condition is a one-byte heap out-of-bounds read that crashes the application. The supplied data does not indicate confidentiality or integrity impact.
How can I identify malicious or triggering subtitle files?
The triggering condition occurs when control sequence commands in a VobSub packet end exactly at the packet boundary without a terminating command. Review or isolate untrusted .idx/.sub pairs, especially if GPAC crashes while processing them.
What can be done if updating is not immediately possible?
Do not process untrusted VobSub .idx/.sub files with affected GPAC installations. Restrict subtitle inputs to trusted sources until the referenced fix can be applied.