Process abort via oversized trun entry allocation
Published Apr 12, 2023 · Updated Feb 8, 2025
Uncontrolled memory allocation in Bento4 mp42avc 1.6.0-639 allows local users to abort the process with a crafted MP4 file. While parsing a trun atom, AP4_TrunAtom passes the file-supplied sample count to AP4_Array::SetItemCount, causing EnsureCapacity to request about 16 GiB without first bounding the count against the atom payload. Exploitation requires a user to run mp42avc on the malicious file; the demonstrated consequence is allocator failure and process termination, not code execution.
Summary
What happened
Uncontrolled memory allocation in Bento4 mp42avc 1.6.0-639 allows local users to abort the process with a crafted MP4 file. While parsing a trun atom, AP4_TrunAtom passes the file-supplied sample count to AP4_Array::SetItemCount, causing EnsureCapacity to request about 16 GiB without first bounding the count against the atom payload. Exploitation requires a user to run mp42avc on the malicious file; the demonstrated consequence is allocator failure and process termination, not code execution.
The record
- CVE
- CVE-2023-29574
- Published
- Apr 12, 2023
- Updated
- Feb 8, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-119, T1204.002, T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 12, 2023CVE publishedPublication date reported by the CVE source.
- Feb 8, 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.
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
- poc3.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