CVE-2025-55661: GPAC MP4Box v2.4 Opus Parser Heap Buffer Overflow
GPAC MP4Box version 2.4 contains a memory safety defect in its Opus audio parser that can be triggered by opening a specially crafted MP4 file. The flaw causes the application to crash, denying service to legitimate users. An attacker needs only local file access and user interaction (opening the file); no special privileges or network connectivity are required.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-122
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-15 / 2026-06-17
NVD description (verbatim)
A heap buffer overflow in the Opus audio stream parser component of GPAC MP4Box v2.4 allows attackers to cause a Denial of Service (DoS) via supplying a crafted MP4 file.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2025-55661 is a heap buffer overflow (CWE-122) in GPAC's Opus audio stream parsing logic within MP4Box v2.4. The vulnerability exists in memory-unsafe code that processes Opus audio metadata or frames without proper bounds checking. When a maliciously crafted MP4 file with malformed Opus stream data is processed, the parser writes beyond allocated heap memory, corrupting heap structures and triggering an immediate crash. The overflow is limited to denial of service; code execution is not indicated by current analysis.
Business impact
Organizations using GPAC MP4Box v2.4 for batch media processing, transcoding pipelines, or automated content analysis face service disruption if untrusted or user-supplied MP4 files are processed without validation. Media production environments, streaming platforms, and security tools that rely on MP4Box for format inspection are at risk. An attacker could exploit this to interrupt workflows, delay content delivery, or sabotage automated media processing jobs by submitting poisoned files.
Affected systems
GPAC MP4Box v2.4 is confirmed vulnerable. The vulnerability is specific to Opus audio stream parsing; MP4 files containing other audio codecs or video-only content are not affected. Any system running MP4Box v2.4 as a library or standalone tool is in scope if it processes untrusted MP4 files. Earlier or later versions of GPAC require independent verification against vendor advisories.
Exploitability
Exploitability is straightforward for a DoS attack. An attacker requires only the ability to deliver a crafted MP4 file to a target system and trick a user into opening or processing it (via email, file share, web upload, etc.). No special technical skill is required beyond MP4 file manipulation. The CVSS vector (AV:L, UI:R) reflects local access and user interaction as prerequisites. The attack does not require authentication or elevated privileges. Public exploit code has not been confirmed; however, the defect is a standard buffer overflow, making proof-of-concept development straightforward once the flaw is understood.
Remediation
Upgrade GPAC to a patched version released after June 2026 that addresses the Opus parser heap overflow. Verify the specific patch version against the official GPAC project security advisory or release notes. Interim mitigation includes disabling Opus audio processing if possible, implementing file-based input validation (rejecting malformed MP4 headers), and restricting MP4Box processing to trusted sources only. Consider sandboxing MP4Box in isolated environments to limit blast radius of crashes.
Patch guidance
Check the GPAC project's official repository and security advisories for versions newer than v2.4 that include a fix for CVE-2025-55661. Apply the patch as soon as testing confirms compatibility with your media processing pipeline. If you maintain custom builds or forks of GPAC, prioritize merging the upstream fix into your codebase. Test patched versions against your existing MP4 file inventory to confirm no regressions before production deployment.
Detection guidance
Monitor for repeated crashes or unexpected termination of MP4Box processes when processing specific MP4 files, particularly those with Opus audio streams. Log file processing errors and correlate with user submissions or automated file uploads. Network-based detection is limited since this is a local file parsing issue, but you can implement file-format validation on ingress (verify MP4 headers and Opus stream metadata before passing to MP4Box). Automated regression testing with known-bad samples can catch if the vulnerability is present in your build.
Why prioritize this
While the CVSS score of 5.5 (MEDIUM) reflects limited scope (DoS only, no confidentiality or integrity impact), organizations relying on continuous media processing should prioritize this patch. The flaw requires no special privileges or network access, only a user action, making it a practical attack vector in supply-chain or content-upload scenarios. The vulnerability is not yet on the KEV catalog, but widespread GPAC usage in media tools warrants proactive patching. If MP4Box is part of a critical content pipeline, elevate the priority to match operational risk.
Risk score, explained
CVSS 3.1 score of 5.5 (MEDIUM) is driven by high impact (A:H) on availability, but low attack complexity (AC:L) and no privilege requirements (PR:N). The local attack vector (AV:L) and required user interaction (UI:R) prevent a higher score. For environments where service availability is critical or where MP4Box processes untrusted user content at scale, the effective organizational risk may exceed the base CVSS score.
Frequently asked questions
Can this vulnerability lead to data theft or file manipulation?
No. CVE-2025-55661 causes a denial of service (crash) only. The heap buffer overflow does not enable code execution, so attackers cannot steal data, modify files, or gain system access. The impact is limited to application unavailability.
Do all MP4 files trigger the crash, or only specific ones?
Only MP4 files with malformed Opus audio streams trigger the vulnerability. Standard, well-formed MP4 files with Opus audio, or MP4 files using other audio codecs (AAC, MP3, etc.), are not affected. The attacker must craft or supply a specific malicious MP4 to exploit this.
Is there a workaround if I cannot patch immediately?
Yes. Avoid processing untrusted MP4 files with MP4Box v2.4, or use file-based input validation to reject MP4 files with suspicious or malformed headers before passing them to the parser. If possible, disable Opus support in MP4Box or process media in a sandboxed environment to limit service disruption if a crash does occur.
Will a newer version of GPAC definitely fix this?
Likely, but verify against the official GPAC security advisory and release notes. The advisory will confirm which versions include the fix. Always test patches in a non-production environment before deployment to ensure compatibility with your workflows.
This analysis is based on publicly disclosed vulnerability data as of June 2026. Patch versions, release timelines, and KEV catalog status may change. Always verify specific affected versions and available patches against the official GPAC project advisories before acting. This summary does not constitute security advice and should be validated by your internal security team. Exploit code, proof-of-concept development, or weaponization of this vulnerability is not endorsed. Use this information to inform your risk assessment and patch planning only. Source: NVD (public-domain), retrieved 2026-07-23. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-55645MEDIUMHeap Buffer Overflow in GPAC MP4Box v2.4 – DoS Vulnerability
- CVE-2025-55648MEDIUMGPAC MP4Box Heap Buffer Overflow DoS Vulnerability
- CVE-2025-55652MEDIUMHeap Buffer Overflow in GPAC MP4Box v2.4 – DoS Vulnerability
- CVE-2025-55664MEDIUMGPAC MP4Box Heap Buffer Overflow DoS Vulnerability
- CVE-2026-10194MEDIUMOFFIS DCMTK Heap Buffer Overflow in Query/Retrieve Service
- CVE-2026-10200MEDIUMAssimp 6.0.4 Heap Buffer Overflow in glTF Matrix Parser
- CVE-2026-10229MEDIUMAssimp Half-Life MDL Loader Heap Buffer Overflow
- CVE-2026-10230MEDIUMAssimp Half-Life MDL Loader Heap Buffer Overflow Vulnerability