CVE-2022-36040
CVE-2022-36040 is a high-severity vulnerability in Rizin with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Rizin
- Published:
- Last modified:
Description
Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to an out-of-bounds write when getting data from PYC(python) files. A user opening a malicious PYC file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. Commit number 68948017423a12786704e54227b8b2f918c2fd27 contains a patch.
Frequently asked questions
- What is CVE-2022-36040?
- Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to an out-of-bounds write when getting data from PYC(python) files. A user opening a malicious PYC file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. Commit number 68948017423a12786704e54227b8b2f918c2fd27 contains a patch.
- How severe is CVE-2022-36040?
- CVE-2022-36040 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-36040 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-36040?
- CVE-2022-36040 affects Rizin. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-36040?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-36040 published?
- CVE-2022-36040 was published on 2022-09-06 and last updated on 2026-06-17.
References
- https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27
- https://github.com/rizinorg/rizin/issues/2963
- https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/
- https://security.gentoo.org/glsa/202209-06
Affected products (1)
- cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*
More vulnerabilities in Rizin
- CVE-2024-31668 — Critical (CVSS 9.1): rizin before v0.6.3 is vulnerable to Improper Neutralization of Special Elements via meta_set function in…
- CVE-2023-40022 — High (CVSS 7.8): Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.6.0 and prior are vulnerable to…
- CVE-2021-3674 — High (CVSS 7.8): A flaw was found in rizin. The create_section_from_phdr function allocates space for ELF section data by processing the…
- CVE-2023-27590 — High (CVSS 7.8): Rizin is a UNIX-like reverse engineering framework and command-line toolset. In version 0.5.1 and prior, converting a…
- CVE-2022-36044 — High (CVSS 7.8): Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to…
- CVE-2022-36043 — High (CVSS 7.8): Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to…
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…