CVE-2021-40607
NixOS vulnerability analysis and mitigation

Overview

The schm_box_size function in GPAC 1.0.1 allows attackers to cause a denial of service via a crafted file in the MP4Box command (NVD). The vulnerability was discovered in 2021 and affects GPAC versions up to 1.0.1.

Technical details

The vulnerability exists in the schm_box_size function where a heap-buffer-overflow can occur due to missing '\0' check at the end of URI. When calculating the size using strlen(ptr->URI), if the URI does not end with a null terminator, it can lead to a buffer overflow (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) (NVD).

Impact

The vulnerability can lead to a denial of service condition when processing crafted files with MP4Box command. The impact is primarily on the availability of the system, with no direct impact on confidentiality or integrity (NVD).

Exploitability

The vulnerability can be triggered by processing a specially crafted file using the MP4Box command. An example proof of concept demonstrates the exploitation by running './MP4BOX -hint poc -out /dev/null' with a maliciously crafted input file (GitHub Issue).

Mitigation and workarounds

The vulnerability was addressed in GPAC version 2.0.0. Users are recommended to upgrade to this version or later to mitigate the vulnerability (NVD).

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-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 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