CVE-2021-40942
NixOS vulnerability analysis and mitigation

Overview

In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow vulnerability in the function filter_parse_dyn_args located in filter_core/filter.c:1454. This vulnerability was discovered and reported in September 2021 (GitHub Issue).

Technical details

The vulnerability occurs when processing files with extremely long path names (length > 1024 characters). The heap buffer overflow is triggered in the filter_parse_dyn_args function, specifically at line 1454 of filter_core/filter.c. According to the CVSS 3.1 scoring, this vulnerability has a 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

When exploited, this vulnerability can cause a denial of service (DOS) condition through a system crash. The vulnerability affects the availability of the system while not impacting confidentiality or integrity (NVD).

Exploitability

The vulnerability requires local access and user interaction to be exploited. It can be triggered by creating directories with large names (length=255) that make the file's absolute path length larger than 1024 characters, and then using the MP4Box -add command with these paths (GitHub Issue).

Mitigation and workarounds

The vulnerability affects GPAC MP4Box version 1.1.0. Users should update to a patched version of the software when available. In the meantime, users should avoid processing files with extremely long path names (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-18713HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18669HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18235HIGH8.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-17420MEDIUM6.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18250MEDIUM5
  • NixOS logoNixOS
  • i
NoNoAug 12, 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