CVE-2024-58397
MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters
enzo1982 mp4v2
CVSS
6.9MediumExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 16 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.13%Chance of exploitation activity in the next 30 days, higher than 2% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
MP4v2 through 2.1.3 contains a heap-based out-of-bounds read in MP4File::GetChapters() that allows attackers to read past heap allocations via crafted QuickTime chapter samples. Attackers can supply an MP4 file whose chapter sample is shorter than its declared title length, crashing applications like mp4chaps or leaking adjacent heap memory into chapter titles.
Text from CVE List
Affected versions 1
- mp4v2affected: all versions through 2.1.3CVE List
References 6
- vulncheck.com/advisories/mp4v2-through-2.1.3-heap-out-of-bounds-read-via-mp4file-getchaptersAdvisoryvia CVE List
- hackmd.io/@haind-pwn/cve-2024-58397-mp4v2-getchapters-oob-readExploitvia CVE List
- hackmd.io/@haind-pwn/mp4v2-getchapters-oob-readReferencevia CVE List
- github.com/enzo1982/mp4v2/issues/53Referencevia CVE List
- github.com/enzo1982/mp4v2/blob/f4c2f1b87446100728472d80fd1161d2f8e830b2/src/mp4file.cpp#L2618-L2627Referencevia CVE List
- github.com/enzo1982/mp4v2Referencevia CVE List