CVE-2022-36042

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-36042
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36042.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-36042
Aliases
  • GHSA-pf72-jg54-8gvp
Published
2022-09-06T00:00:00Z
Modified
2025-11-04T19:33:29Z
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"
    ]
}
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

vanir_signatures

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