{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7323e64d68ecccfb0ed3ee480f704384c38676b2"
            }
          ],
          "repo": "https://github.com/rizinorg/rizin",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2c7m-2f37-mr5m"
  ],
  "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-36041.json"
  },
  "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 parsing Mach-O files. A user opening a malicious Mach-O file could be affected by this vulnerability, allowing an attacker to execute code on the user's machine. Commit number 7323e64d68ecccfb0ed3ee480f704384c38676b2 contains a patch.",
  "id": "CVE-2022-36041",
  "modified": "2026-04-01T23:08:03.423916965Z",
  "published": "2022-09-06T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36041.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/rizinorg/rizin/security/advisories/GHSA-2c7m-2f37-mr5m"
    },
    {
      "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-36041"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202209-06"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/rizinorg/rizin/issues/2956"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rizinorg/rizin/commit/7323e64d68ecccfb0ed3ee480f704384c38676b2"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Rizin Out-of-bounds Write vulnerability in Mach-O binary plugin"
}