CVE-2025-70307 Details
Description
A stack overflow in the dump_ttxt_sample function of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted packet.
A stack-based buffer overflow vulnerability has been identified in GPAC version 2.4.0 within the 'dump_ttxt_sample' function, part of the ISO Media box dumping process. This vulnerability allows attackers to cause a denial-of-service by crafting an MP4 file with a timed text sample that includes an excessively large text length field, starting with a UTF-16 byte order mark. The flaw arises from an unchecked 'memcpy' operation, which can overwrite stack memory and potentially lead to exploitable memory corruption, depending on the application's build and environment.
To address this vulnerability, GPAC developers should implement proper length validation before the 'memcpy' operation, ensuring that the text length does not exceed the buffer capacity, and consider using dynamically allocated buffers based on validated input.
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_boxDump/GPAC_tx3g.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 30, 2026 | Initial Analysis | [email protected] |
| Jan 15, 2026 | CVE Modified | CISA-ADP |
| Jan 15, 2026 | New CVE Received | [email protected] |