PatchSiren cyber security CVE debrief
CVE-2024-58397 enzo1982 CVE debrief
A heap-based out-of-bounds read vulnerability exists in MP4v2 through 2.1.3 in the MP4File::GetChapters() function. This allows attackers to read past heap allocations via crafted QuickTime chapter samples, potentially crashing applications or leaking adjacent heap memory into chapter titles. The vulnerability is triggered when an MP4 file with a chapter sample shorter than its declared title length is processed, impacting applications like mp4chaps. Defenders should assess exposure, especially in applications handling MP4 files from untrusted sources, and prioritize verification and potential updates of the MP4v2 library.
- Vendor
- enzo1982
- Product
- mp4v2
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-15
- Original CVE updated
- 2026-10-16
- Advisory published
- 2026-10-15
- Advisory updated
- 2026-10-16
Who should care
Defenders responsible for applications using MP4v2, especially those handling MP4 files from untrusted sources, should assess exposure and prioritize verification and potential updates of the MP4v2 library.
Why it matters
CVE-2024-58397 is a medium-severity vulnerability in MP4v2 that allows for heap-based out-of-bounds reads, potentially leading to application crashes or memory leaks. Defenders should prioritize verifying and updating MP4v2, assessing exposure in applications using this library, and monitoring for potential issues.
- Potential application crashes due to out-of-bounds reads
- Possible leakage of adjacent heap memory into chapter titles
- Need for verification of MP4v2 version and exposure in applications
- Priority for updating MP4v2 to a version beyond 2.1.3 if possible
Technical summary
The MP4File::GetChapters() function in MP4v2 through 2.1.3 contains a heap-based out-of-bounds read vulnerability. This allows attackers to read past heap allocations via crafted QuickTime chapter samples, potentially crashing applications like mp4chaps or leaking adjacent heap memory into chapter titles. The vulnerability is triggered by an MP4 file with a chapter sample that is shorter than its declared title length. To address this, defenders should prioritize verifying and updating MP4v2 to a version beyond 2.1.3 if possible, and assess exposure in applications using this library, especially those handling MP4 files from untrusted sources.
Defensive priority
Defenders should prioritize verifying and updating MP4v2 to a version beyond 2.1.3 if possible, and assess exposure in applications using this library, especially those handling MP4 files from untrusted sources.
Recommended defensive actions
- Verify MP4v2 version and update to a version beyond 2.1.3 if possible
- Assess exposure in applications using MP4v2, especially those handling MP4 files from untrusted sources
- Monitor for and handle potential crashes or memory leaks in affected applications
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description and affected versions. However, the corpus does not establish versions beyond 2.1.3 as patched or provide specific remediation steps beyond updating MP4v2.
Sources and references
Verified primary and authoritative sources
-
CVE-2024-58397 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2024-58397
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2024-58397 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2024-58397
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2024/58xxx/CVE-2024-58397.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@haind-pwn/mp4v2-getchapters-oob-read
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/enzo1982/mp4v2/issues/53
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/enzo1982/mp4v2/blob/f4c2f1b87446100728472d80fd1161d2f8e830b2/src/mp4file.cpp
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/enzo1982/mp4v2
Supplemental source - product
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/mp4v2-through-2.1.3-heap-out-of-bounds-read-via-mp4file-getchapters
Supplemental source - third-party-advisory
-
Source reference
Unverified legacy reference
URL: https://hackmd.io/@haind-pwn/cve-2024-58397-mp4v2-getchapters-oob-read
Supplemental source - exploit
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.