Local code execution via Stz2 atom over-read
Published Feb 19, 2025 · Updated Feb 20, 2025
Heap buffer overflow in Bento4 1.6.0-641 allows local users to execute arbitrary code by processing a crafted MP4 with mp4fragment. AP4_Stz2Atom::AP4_Stz2Atom allocates a one-byte buffer, then AP4_BytesToUInt16BE reads two bytes from it while parsing the crafted Stz2 atom. Exploitation requires local low-privileged access and invocation of mp4fragment on the malicious file; the demonstrated result is an out-of-bounds read and crash, while the CVE record reports arbitrary code execution.
Summary
What happened
Heap buffer overflow in Bento4 1.6.0-641 allows local users to execute arbitrary code by processing a crafted MP4 with mp4fragment. AP4_Stz2Atom::AP4_Stz2Atom allocates a one-byte buffer, then AP4_BytesToUInt16BE reads two bytes from it while parsing the crafted Stz2 atom. Exploitation requires local low-privileged access and invocation of mp4fragment on the malicious file; the demonstrated result is an out-of-bounds read and crash, while the CVE record reports arbitrary code execution.
The record
- CVE
- CVE-2025-25943
- Published
- Feb 19, 2025
- Updated
- Feb 20, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-94, T1203
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 19, 2025CVE publishedPublication date reported by the CVE source.
- Feb 20, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- bug6.mp4 proof of conceptproof 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