CVE-2022-36040
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-36040 affects Rizin, a UNIX-like reverse engineering framework and command-line toolset. The vulnerability was discovered in versions 0.4.0 and prior, where an out-of-bounds write vulnerability exists when processing PYC (Python) files. The issue was disclosed on September 6, 2022, and was patched in version 0.4.1 (NVD, GitHub Advisory).

Technical details

The vulnerability is an out-of-bounds write condition in the pyc/marshal.c file. The issue occurs specifically in the getcomplexobject function when processing PYC files. The bug was identified through fuzzing and can be triggered when parsing maliciously crafted PYC files. The vulnerability received a CVSS score of 7.0 (AV:L/AC:M/Au:N/C:C/I:C/A:C), indicating high severity (Rapid7).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code on the user's machine when opening a malicious PYC file. The out-of-bounds write condition could lead to memory corruption and potential code execution in the context of the application (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Rizin version 0.4.1. Users are advised to upgrade to this version or later. The fix was implemented through commit 68948017423a12786704e54227b8b2f918c2fd27, which addresses the out-of-bounds write issue (Gentoo Security).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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