MediaInfoLib memory corruption in MPEG-4 file parser
Only affects MediaInfoLib parsing malformed MPEG-4 files whose track has only a tkhd box plus stts, stsc or stsz boxes. The fix is patch 5b7083d.
- Exploited
- No known exploitation
- Fix
- Vendor patch: 5b7083d
- Who is exposed
- Specific setups only
Summary
MediaArea MediaInfoLib, a library for reading media file metadata, has an out-of-bounds write flaw in its MPEG-4 parser. An attacker can reach it remotely without logging in, but a user must first open a crafted file.
Written by a model
Original description
A vulnerability has been found in MediaArea MediaInfoLib up to 26.10. Impacted is the function File_Mpeg4::moov_trak_mdia_minf_stbl_stts of the file Source/MediaInfo/Multiple/File_Mpeg4_Elements.cpp of the component MPEG-4 Parser. Such manipulation of the argument track-id leads to out-of-bounds write. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 5b7083d89033467a5266243c39846a0046e59451. It is advisable to implement a patch to correct this issue.
Who should check
Teams that parse MPEG-4/MP4 files with MediaArea MediaInfoLib, including files from untrusted sources.
“MPEG-4: crashes with malformed track boxes”
What to do
Check whether your setup matches what the bug needs.
Malformed MP4 file whose track has only a tkhd box plus stts, stsc or stsz boxesApply the vendor's patch: 5b7083d.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138208 (MediaArea MediaInfoLib MPEG-4 File_Mpeg4_Elements.cpp moov_trak_mdia_minf_stbl_stts out-of-bounds write), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138208 (entry last updated 2026-11-29):
Affected:
- MediaArea MediaInfoLib: versions 26.0, 26.1, 26.2, 26.3, 26.4, 26.5, 26.6, 26.7, 26.8, 26.9, 26.10
Vendor patches: 5b7083d (source: https://github.com/MediaArea/MediaInfoLib/commit/5b7083d89033467a5266243c39846a0046e59451). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- Malformed MP4 file whose track has only a tkhd box plus stts, stsc or stsz boxes (source: https://github.com/MediaArea/MediaInfoLib/pull/2798)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-138208 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138208 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/MediaArea/MediaInfoLib/pull/2798
- https://github.com/MediaArea/MediaInfoLib/commit/5b7083d89033467a5266243c39846a0046e59451
- https://vuldb.com/vuln/445077
- https://vuldb.com/vuln/445077/cti
- https://vuldb.com/cve/CVE-2026-138208
- https://vuldb.com/submit/1071161
- https://github.com/MediaArea/MediaInfoLib/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138208
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138208"}.Affected versions
- MediaArea MediaInfoLib26.0, 26.1, 26.2, 26.3, 26.4, 26.5, 26.6, 26.7, 26.8, 26.9, 26.10
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach?/20Unknown. No tracked technology or package matched
- Severity5.3/10CVSS 5.3
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 10
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138208 |
| Record | NVD · CVE-2026-138208 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · MediaArea/MediaInfoLib · Issue #2760 |
| Other links 7 | |
| Advisory | VulDB · Advisory #445077 |
| Advisory | VulDB · Threat intelligence #445077 |
| Advisory | VulDB · CVE-2026-138208 record |
| Advisory | VulDB · Submission #1071161 |
| Patch | GitHub · MediaArea/MediaInfoLib · Pull request #2798 |
| Patch | GitHub · MediaArea/MediaInfoLib · Commit 5b7083d8 |
| Repository | GitHub · MediaArea/MediaInfoLib · Repository |
Questions about CVE-2026-138208
Is CVE-2026-138208 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A malformed MPEG-4 track can make MediaInfoLib write outside the stream map, which crashes the parser.
Source: github.com, github.com
Which versions are affected by CVE-2026-138208?
MediaInfoLib: versions 26.0, 26.1, 26.2, 26.3, 26.4 and 6 more.
Source: cve.now feed data
Am I affected, and how do I check?
The issue involves MediaInfoLib parsing MPEG-4 files where a track has only a tkhd box plus stts, stsc or stsz boxes. No affected version range is listed, so check the MediaInfoLib version in use and whether it includes patch 5b7083d.
Source: github.com, github.com
How do I fix CVE-2026-138208?
Apply patch 5b7083d (Merge pull request #2798 from JeromeMartinez/Mpeg4_stts_NoStream). The sources do not name a fixed version.
Source: github.com, github.com
Related
- CVE-2026-25104A heap-based buffer overflow vulnerability exists in the LXF parsing functionality of MediaInfoLib (version(s): 26.01).
- CVE-2026-25713A heap-based buffer overflow vulnerability exists in the ID3v2 parsing functionality of MediaInfoLib (version(s): 26.01).
- CVE-2026-28764A heap-based buffer overflow vulnerability exists in the LXF element parsing functionality of MediaInfoLib (version(s): 26.01).
- CVE-2026-22554A heap-based buffer overflow vulnerability exists in the Channel Splitting functionality of MediaInfoLib (version(s): 26.01).
- CVE-2026-138380MediaInfoLib before 26.10 Heap-Based Buffer Over-Read via File_Ogg::Data_Parse
- CVE-2026-135440MediaInfoLib before 26.10 Use-After-Free via File_Vorbis::Setup
No corrections so far. Something wrong on this page? Report an error.