{"api_version":"1","generated_at":"2026-04-15T02:22:40+00:00","cve":"CVE-2022-36040","urls":{"html":"https://cve.report/CVE-2022-36040","api":"https://cve.report/api/cve/CVE-2022-36040.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36040","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36040"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-09-06 20:15:00","updated_at":"2023-11-07 03:49:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw","name":"https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw","refsource":"CONFIRM","tags":[],"title":"Out-of-bounds Write in pyc/marshal.c · Advisory · rizinorg/rizin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202209-06","name":"GLSA-202209-06","refsource":"GENTOO","tags":[],"title":"Rizin: Multiple Vulnerabilities (GLSA 202209-06) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/","name":"FEDORA-2023-af305bed3d","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: cutter-re-2.2.0-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/rizinorg/rizin/issues/2963","name":"https://github.com/rizinorg/rizin/issues/2963","refsource":"MISC","tags":[],"title":"Multiple heap out-of-bounds writes of size 1 in marshal.c · Issue #2963 · rizinorg/rizin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/","name":"FEDORA-2023-af305bed3d","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: cutter-re-2.2.0-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27","name":"https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27","refsource":"MISC","tags":[],"title":"fix #2963 - oob write (1 byte) in pyc/marshal.c · rizinorg/rizin@6894801 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36040","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36040","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"36040","vulnerable":"1","versionEndIncluding":"0.4.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"rizin","cpe5":"rizin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-36040","qid":"284245","title":"Fedora Security Update for cutter (FEDORA-2023-af305bed3d)"},{"cve":"CVE-2022-36040","qid":"710620","title":"Gentoo Linux Rizin Multiple Vulnerabilities (GLSA 202209-06)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-36040","STATE":"PUBLIC","TITLE":"Rizin Out-of-bounds Write vulnerability in pyc/marshal.c"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"rizin","version":{"version_data":[{"version_value":"<= 0.4.0"}]}}]},"vendor_name":"rizinorg"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-787: Out-of-bounds Write"}]}]},"references":{"reference_data":[{"name":"https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw","refsource":"CONFIRM","url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-h897-rhm9-rpmw"},{"name":"https://github.com/rizinorg/rizin/issues/2963","refsource":"MISC","url":"https://github.com/rizinorg/rizin/issues/2963"},{"name":"https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27","refsource":"MISC","url":"https://github.com/rizinorg/rizin/commit/68948017423a12786704e54227b8b2f918c2fd27"},{"refsource":"GENTOO","name":"GLSA-202209-06","url":"https://security.gentoo.org/glsa/202209-06"},{"refsource":"FEDORA","name":"FEDORA-2023-af305bed3d","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/"}]},"source":{"advisory":"GHSA-h897-rhm9-rpmw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-09-06 20:15:00","lastModifiedDate":"2023-11-07 03:49:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*","versionEndIncluding":"0.4.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}