CVE-2022-27146
NixOS vulnerability analysis and mitigation

Overview

GPAC mp4box version 1.1.0-DEV-rev1759-geb2d1e6dd contains a heap-buffer-overflow vulnerability in the function gf_isom_apple_enum_tag. This vulnerability was discovered in February 2022 and affects the MP4Box component of GPAC (NVD, MITRE).

Technical details

The vulnerability exists in the gf_isom_apple_enum_tag function located in src/isomedia/isom_read.c. When processing certain MP4 files, the function performs a read operation that exceeds the allocated buffer size, specifically reading 1 byte beyond a 5-byte allocated region at address 0x6020000014f5. This heap-buffer-overflow was detected by AddressSanitizer during testing (GitHub Issue).

Impact

A successful exploitation of this vulnerability could lead to memory corruption, potentially resulting in program crashes or arbitrary code execution. The vulnerability affects the MP4Box component, which is a key tool in GPAC for manipulating MP4 files.

Exploitability

The vulnerability can be triggered by processing specially crafted MP4 files. A proof-of-concept file has been documented that demonstrates the buffer overflow when using the command 'MP4Box -frag 1 -out /dev/null poc_file' (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version of GPAC that contains the fix for this vulnerability. If upgrading is not immediately possible, users should exercise caution when processing untrusted MP4 files with the MP4Box tool.

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management