GPAC Buffer Overflow Vulnerability in SVG Parser Component

Vulnerability

A heap buffer overflow vulnerability has been identified in GPAC version 26.03-DEV. The issue arises in the SVG parser component, specifically within the `svgin_process` function of the file `src/filters/load_svg.c`. This vulnerability allows for an out-of-bounds write, which could potentially be exploited to execute arbitrary code or cause a denial-of-service condition. The vulnerability requires local access to be exploited.

Impact

Exploitation of this vulnerability leads to a heap buffer overflow, causing both out-of-bounds read and write operations. Such memory corruption can often be exploited to execute arbitrary code.

Reproduction

The vulnerability can be reproduced by saving a crafted MP4 file that exploits the buffer overflow into a file named `poc_dims_oob.mp4`. Then, run GPAC with the command `gpac -i poc_dims_oob.mp4 svgplay compositor vout`. This will open the GPAC compositor, which will crash shortly after a white screen, indicating that the buffer overflow has been successfully exploited.

Remediation

Users are advised to update to the patched version of GPAC 26.03-DEV, which is available on the GPAC GitHub repository.

Added: Mar 12, 2026, 9:19 AM
Updated: Mar 12, 2026, 9:19 AM

Vulnerability Rating

Custom Algorithm
spread
2.4
impact
3.8
exploitability
5.6
remediation
7.7
relevance
3.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.