CVE-2026-130793: GPAC before 26.07.0 Stack-Based Buffer Overflow via gf_filter_pid_resolve_file_template_ex
GPAC before 26.07.0 contains a stack-based buffer overflow vulnerability in gffilterpidresolvefiletemplateex() in src/filtercore/filterpid.c that allows local attackers to write past fixed GFMAXPATH stack buffers. Attackers can convince a user to segment a crafted NHML input referencing an overly long media file name with MP4Box -dash to crash the process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GPACto a version that resolves this vulnerability.Fixed in 26.07.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems running GPAC versions before 26.07.0 are exposed when a user processes a crafted NHML input with MP4Box using the -dash option. Exploitation requires a local attacker to convince the user to perform that processing.
What does an attacker need to provide or induce?
The attacker needs a crafted NHML input that references an overly long media file name, and must induce a user to segment it with MP4Box -dash. The described result is a crash caused by writing past fixed GF_MAX_PATH stack buffers.
How can the issue be remediated?
Upgrade GPAC to version 26.07.0 or later. The affected versions are those before 26.07.0.
What can be done if upgrading is not immediately possible?
Avoid running MP4Box -dash on untrusted NHML inputs, particularly inputs that may reference unusually long media file names. Restrict processing to trusted content until the upgrade can be completed.