CVE-2026-135442 in MediaInfoLibinfo

Summary

by MITRE • 11/23/2026

MediaInfoLib before 26.10 contains an out-of-bounds read vulnerability in the MPEG-4 Visual parser that allows attackers to read global memory via an uninitialized frame_rate_code index into Mpegv_frame_rate. Attackers can supply a crafted MP4 file that forces stream finalization before parser synchronization, crashing the process or leaking adjacent memory into the reported frame rate.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/23/2026

The vulnerability identified in MediaInfoLib prior to version 26.10 represents a critical security flaw within its MPEG-4 Visual parsing engine, specifically manifesting as an out-of-bounds read condition. This defect arises from improper validation of input data during the processing of MP4 container files that contain MPEG-4 Visual streams. The core technical issue lies in how the library handles frame rate extraction when stream finalization occurs prematurely or under specific synchronization states. In a normal operational flow, the parser relies on valid indices to access lookup tables for frame rates. However, due to insufficient boundary checks and state management errors, an attacker can craft a malicious MP4 file that forces the parser into a state where it attempts to read from global memory using an uninitialized or invalid index derived from the frame_rate_code field. This misalignment causes the application to dereference memory addresses outside the intended buffer boundaries, leading to either a denial of service through process crash or, more severely, information disclosure via adjacent memory leakage.

From a technical perspective, this vulnerability is classified under CWE-125, which denotes Out-of-bounds Read. The root cause stems from a lack of rigorous input validation and state verification before accessing the Mpegv_frame_rate lookup table. When an attacker supplies a specially crafted MP4 file, they can manipulate stream metadata to trigger early finalization or desynchronization within the parser logic. This condition bypasses standard safety checks that would normally prevent access to uninitialized variables such as frame_rate_code. Consequently, the application reads arbitrary bytes from global memory and interprets them as part of the reported frame rate data. This behavior not only compromises the integrity of the parsing process but also exposes sensitive information stored in adjacent memory locations, which may include pointers, credentials, or other proprietary data structures depending on how MediaInfoLib is integrated into a larger application ecosystem.

The operational impact of this vulnerability extends beyond simple crashes, although denial of service remains a significant risk for applications that do not implement robust exception handling around media parsing functions. The more severe implication involves information leakage, where an attacker can potentially exfiltrate memory contents from the host process. In environments where MediaInfoLib is used by web browsers, document viewers, or automated scanning tools, this vulnerability could be exploited to bypass security boundaries and gather intelligence about the target system's memory layout. This aligns with ATT&CK technique T1057, Process Discovery, as well as techniques related to data exfiltration over alternative protocols if combined with other exploitation vectors. The ability to read global memory effectively breaks the isolation assumptions of the application, allowing for potential follow-on attacks such as heap spraying or return-oriented programming exploits depending on the specific architecture and compiler protections in place.

Mitigation strategies must prioritize immediate patching by upgrading MediaInfoLib to version 26.10 or later, where these boundary checks and state validations have been corrected. For organizations unable to upgrade immediately, implementing strict input validation at the application layer is essential. This includes sanitizing MP4 files before they are passed to the library's parsing functions and ensuring that any metadata extracted from media containers undergoes rigorous type checking and range verification. Additionally, deploying runtime protection mechanisms such as Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) can mitigate the impact of memory leakage by making it harder for attackers to predict memory addresses or execute injected code. Regular security audits focusing on third-party library usage and continuous monitoring for anomalous behavior in media processing pipelines are also recommended to detect potential exploitation attempts early.

Responsible

VulnCheck

Reservation

11/23/2026

Disclosure

11/23/2026

Moderation

accepted

CPE

ready

EPSS

0.00166

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!