MP4Box crash via unchecked UTF-8 line copy
Published Jan 8, 2024 · Updated May 16, 2025
Stack-based buffer overflow in GPAC before 2.3-DEV allows local users to crash MP4Box by processing a crafted subtitle file. In gf_text_get_utf8_line in src/filters/load_text.c, strcpy copies a converted UTF-8 line into the caller's stack buffer without checking lineSize. The demonstrated path requires local invocation of MP4Box on attacker-controlled input and aborts the process after overwriting the szLine stack buffer.
Summary
What happened
Stack-based buffer overflow in GPAC before 2.3-DEV allows local users to crash MP4Box by processing a crafted subtitle file. In gf_text_get_utf8_line in src/filters/load_text.c, strcpy copies a converted UTF-8 line into the caller's stack buffer without checking lineSize. The demonstrated path requires local invocation of MP4Box on attacker-controlled input and aborts the process after overwriting the szLine stack buffer.
The record
- CVE
- CVE-2024-0321
- Published
- Jan 8, 2024
- Updated
- May 16, 2025
- Vendor
- GPAC Project
- Product
- GPAC
- Classifications
- CWE-787, CWE-121, T1499
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 8, 2024CVE publishedPublication date reported by the CVE source.
- May 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <2.3-DEV
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- sbo3 MP4Box proof-of-concept fileproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo