CVE-2022-35165
NixOS vulnerability analysis and mitigation

Overview

An issue in AP4SgpdAtom::AP4SgpdAtom() 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 AP4SgpdAtom::AP4SgpdAtom() 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).

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-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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