{"id":"CVE-2022-36040","aliases":["EUVD-2022-38813","GHSA-h897-rhm9-rpmw"],"status":"published","title":"Rizin Out-of-bounds Write vulnerability in pyc/marshal.c","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00386,"percentile":0.32906,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-09-06T00:00:00Z","modified":"2026-10-28T10:27:20Z","products":[{"vendor":"rizin","product":"rizin"},{"vendor":"rizinorg","product":"rizin"}],"references":[{"url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/rizinorg/rizin/issues/2963","tags":["x_transferred","Third Party Advisory","report"]},{"url":"https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/202209-06","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36040.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36040","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-36040","title":"Rizin Out-of-bounds Write vulnerability in pyc/marshal.c","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.","status":"published","published":"2022-09-06T00:00:00Z","modified":"2025-04-23T17:32:07.611Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:34:35.615708Z"}],"euvd":[{"id":"EUVD-2022-38813","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.","status":"published","published":"2022-09-06T00:00:00Z","modified":"2025-04-23T17:32:07Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:10.363195Z"}],"nvd":[{"id":"CVE-2022-36040","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.","status":"published","published":"2022-09-06T20:15:08.603Z","modified":"2026-06-17T04:52:47.83Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:26.802986Z"}],"osv":[{"id":"CVE-2022-36040","title":"Rizin Out-of-bounds Write vulnerability in pyc/marshal.c","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.","status":"published","published":"2022-09-06T00:00:00Z","modified":"2026-10-28T10:27:20.266805619Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:44:26.195407Z"}]}}
