CVE-2025-70305 Details
Description
A stack overflow in the dmx_saf function of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted .saf file.
A stack-based buffer overflow vulnerability has been identified in GPAC version 2.4.0 within the SAF demuxer filter. The issue arises in the 'dmx_saf' function, where the absence of proper bounds checking allows attackers to craft .saf files that, when processed, cause a denial-of-service by crashing the application. The vulnerability exploits the 'stream_id' indexing in a fixed-size stack array, leading to out-of-bounds memory corruption that could be exploitable under certain conditions.
To address this vulnerability, it is recommended to add an upper bound check before writing to the 'stream_info' array. If the number of streams exceeds the array's capacity, the application should either stop tracking new streams or mark the file as invalid. Alternatively, consider using a dynamically sized data structure with proper validation and a hard cap.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zakkanijia/POC/blob/main/gpac_saf/GPAC_SAF.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| gpac gpac | 2.4.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Jan 15, 2026 | CVE Modified | CISA-ADP |
| Jan 15, 2026 | New CVE Received | [email protected] |