CVE-2024-58397
published medium CVSS 4.0 · 6.9MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| enzo1982 | — | mp4v20 through 2.1.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| enzo1982 | mp4v2 | 0 through 2.1.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
6- https://github.com/enzo1982/mp4v2
- https://github.com/enzo1982/mp4v2/blob/f4c2f1b87446100728472d80fd1161d2f8e830b2/src/mp4file.cpp#L2618-L2627
- https://github.com/enzo1982/mp4v2/issues/53
- https://hackmd.io/@haind-pwn/cve-2024-58397-mp4v2-getchapters-oob-read
- https://hackmd.io/@haind-pwn/mp4v2-getchapters-oob-read
- VulnCheck Advisory: MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters https://www.vulncheck.com/advisories/mp4v2-through-2.1.3-heap-out-of-bounds-read-via-mp4file-getchapters
Provider assertions
2VulnCheck · cna
MP4v2 through 2.1.3 Heap Out-of-Bounds Read via MP4File::GetChapters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f9794e5d14e1ee5f6076e5da425e0904642fbaa295575d4cd8b4c6a295888367
- Ingested
- 16 Oct 2026, 20:28:24 UTC
- Source record
- Official CVE record