Executive brief
GPAC is a multimedia framework used for video streaming and multimedia transcoding. A stack-based buffer overflow vulnerability in the MP4Box component's event handling code allows a local attacker to potentially crash the application or execute arbitrary code by supplying a specially crafted input file.
Technical details
A stack-based buffer overflow exists in the gf_sg_dom_event_bubble function within src/scenegraph/dom_events.c of the MP4Box component in GPAC. The vulnerability is triggered through manipulation of DOM event processing, allowing memory corruption on the stack. The attack vector is local; an attacker must provide a malicious media file that will be processed locally. This could lead to denial of service through a crash or potentially arbitrary code execution. The vulnerability has been patched in version abi-16.23 (commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24).
Affected products
- GPAC GPAC 26.07.0
Timeline
- 2026-09-14: disclosed
- 2026-07-27: patched: Patch commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24