CVE-2022-36042

Source
https://cve.org/CVERecord?id=CVE-2022-36042
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-36042.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-36042
Aliases
  • GHSA-pf72-jg54-8gvp
Published
2022-09-06T00:00:00Z
Modified
2026-02-04T21:57:13.552025Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36042.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/rizinorg/rizin

Affected ranges

Type
GIT
Repo
https://github.com/rizinorg/rizin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-36042.json"
vanir_signatures
[
    {
        "source": "https://github.com/rizinorg/rizin/commit/556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810",
        "digest": {
            "line_hashes": [
                "202742299683610710236793739798202841987",
                "198391192752900046676997905028604354390",
                "206473360849767553133210947706748328536",
                "219195630943982412955608641399309474740",
                "42800548817751478398180574136726924706",
                "107769310666648727572487431769883391471",
                "99927024419835252122904847960256268147",
                "157546792273115299425856008154257979500"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "librz/bin/format/mach0/dyldcache.c"
        },
        "id": "CVE-2022-36042-35062ac4"
    },
    {
        "source": "https://github.com/rizinorg/rizin/commit/556ca2f9eef01ec0f4a76d1fbacfcf3a87a44810",
        "digest": {
            "function_hash": "171822682323094913757555923528189234447",
            "length": 2226.0
        },
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "get_rebase_infos",
            "file": "librz/bin/format/mach0/dyldcache.c"
        },
        "id": "CVE-2022-36042-9a6752ac"
    }
]