CVE-2022-35165
NixOS vulnerability analysis and mitigation

Overview

An issue in AP4_SgpdAtom::AP4_SgpdAtom() of Bento4-1.6.0-639 allows attackers to cause a Denial of Service (DoS) via a crafted mp4 input. The vulnerability was discovered and reported in May 2022 (GitHub Issue).

Technical details

The vulnerability exists in the AP4_SgpdAtom::AP4_SgpdAtom() function where a crafted input can set entry_count to a large value (4,278,190,081). This triggers a long loop that continuously allocates memory in the payload data structure and buffer operations, eventually exhausting the system's memory resources. The issue is exacerbated by the fact that the return value of stream.Read is not checked, preventing the loop from terminating at the end of the input file (GitHub Issue).

Impact

When successfully exploited, the vulnerability can cause a Denial of Service condition by exhausting system memory. In testing, the process was observed to exhaust 65536MB of memory before failing (GitHub Issue).

Exploitability

The vulnerability can be triggered by providing a specially crafted MP4 file to applications using the affected Bento4 library. A proof of concept exploit has been demonstrated using the mp42aac utility (GitHub Issue).

Mitigation and workarounds

The vulnerability affects Bento4 version 1.6.0-639. Users should upgrade to a patched version of the software when available (Ubuntu CVE).

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-72898CRITICAL10
  • NixOS logoNixOS
  • metabase
YesYesAug 10, 2026
CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-sqlite-debuginfo
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-odbc
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-mysql
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