CVE-2022-31285
NixOS vulnerability analysis and mitigation

Overview

An issue was discovered in Bento4 version 1.2 where the allocator runs out of memory in the /Source/C++/Core/Ap4Array.h component. This vulnerability was disclosed on June 10, 2022, and affects the core functionality of the Bento4 software (NVD).

Technical details

The vulnerability is related to memory allocation issues in the AP4_Array::EnsureCapacity function within the Ap4Array.h component. When processing certain input, the allocator attempts to allocate excessive amounts of memory, leading to memory exhaustion. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string 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 (DoS) condition when the application attempts to allocate excessive memory. When triggered, the application fails to handle the memory allocation properly, potentially causing the program to crash or become unresponsive (GitHub Issue).

Exploitability

The vulnerability can be triggered by processing specially crafted input files. A proof of concept has been demonstrated using the mp42hls tool, where processing a malicious file causes the allocator to attempt allocating an excessive amount of memory (0x64f7ff3b0 bytes), leading to program termination (GitHub Issue).

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