GPAC MP4Box Flaw Allows Heap Over-read via Type Confusion in Text Rendering

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
GPAC MP4Box Flaw Allows Heap Over-read via Type Confusion in Text Rendering
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A medium-severity vulnerability, CVE-2026-134699, has been identified in GPAC MP4Box versions up to 26.07.0. The flaw involves a type confusion error in the text compositor module, allowing attackers to trigger heap buffer over-reads. Exploitation requires user interaction, specifically opening a crafted media file, and results in application crashes rather than data theft or code execution.

Key points

  • The vulnerability exists in the 'src/compositor/mpeg4_text.c' file of GPAC MP4Box, affecting versions through 26.07.0.
  • It is classified as a type confusion issue (CWE-843) where a 'Text' node's 'fontStyle' field is cast to 'M_FontStyle' without proper validation.
  • Attackers can exploit this by crafting an XMT/BIFS scene that places a smaller node, such as 'Face', into the 'fontStyle' field, causing the 'build_text' function to read past the allocated memory.
  • The CVSS 3.1 score is 6.1 (Medium), with a secondary CVSS 4.0 score of 6.9, reflecting low confidentiality impact but high availability impact.
  • Exploitation requires local access and user interaction, as the victim must open the malicious file; no privileges are required for the attack.

Background

This incident follows a recent trend of type confusion and buffer read vulnerabilities in open-source software. In November 2026, PostgreSQL patched a 22-year-old type confusion bug (CVE-2026-6460) that allowed code execution, while MongoDB fixed a buffer read issue in its C driver. These cases highlight the persistent risks of incorrect type conversions and memory access errors in long-standing codebases.

Why it matters

While the vulnerability does not allow remote code execution or data theft, it poses a risk to the stability of media processing tools. Users of GPAC MP4Box for media conversion or analysis may experience crashes when processing malicious files. Given the low barrier to exploitation (only user interaction is needed), organizations relying on this tool for automated media pipelines should apply patches to prevent denial-of-service scenarios.

What to watch

Users should update GPAC MP4Box to a version later than 26.07.0 to mitigate the risk. The fix is available in the project's repository, and security advisories have been published by VulnCheck and the GPAC developers. Administrators should verify their installations and ensure that any automated media processing pipelines are updated to prevent crashes from crafted files.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar