{"id":"CVE-2022-36042","summary":"Rizin Out-of-bounds Write vulnerability in dyld cache binary plugin","details":"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 dyld cache files. A user opening a malicious dyld cache file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. Commit number 556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810 contains a patch.","aliases":["GHSA-pf72-jg54-8gvp"],"modified":"2026-08-12T13:33:04.031119Z","published":"2022-09-06T00:00:00Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36042.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36042.json"},{"type":"ADVISORY","url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-pf72-jg54-8gvp"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQZLMHEI5D7EJASA5UW6XN4ODHLRHK6N/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36042"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202209-06"},{"type":"FIX","url":"https://github.com/rizinorg/rizin/commit/556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rizinorg/rizin","events":[{"introduced":"0"},{"fixed":"556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.4.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36042.json","vanir_signatures_modified":"2026-08-12T13:33:04Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["202742299683610710236793739798202841987","198391192752900046676997905028604354390","206473360849767553133210947706748328536","219195630943982412955608641399309474740","42800548817751478398180574136726924706","107769310666648727572487431769883391471","99927024419835252122904847960256268147","157546792273115299425856008154257979500"],"threshold":0.9},"id":"CVE-2022-36042-35062ac4","signature_type":"Line","signature_version":"v1","source":"https://github.com/rizinorg/rizin/commit/556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810","target":{"file":"librz/bin/format/mach0/dyldcache.c"}},{"deprecated":false,"digest":{"function_hash":"171822682323094913757555923528189234447","length":2226},"id":"CVE-2022-36042-9a6752ac","signature_type":"Function","signature_version":"v1","source":"https://github.com/rizinorg/rizin/commit/556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810","target":{"file":"librz/bin/format/mach0/dyldcache.c","function":"get_rebase_infos"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}