Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32494

Radare2 has a division by zero vulnerability in Mach-O parser's rebase_buffer function. This allow attackers to create malicious inputs that can cause denial of service.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32494
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:37 UTC · Revision 1

Source evidence

CVE-2021-32494

core-osv · Original source

Published 7 Jul 2023, 19:15 UTC

Radare2 has a division by zero vulnerability in Mach-O parser's rebase_buffer function. This allow attackers to create malicious inputs that can cause denial of service.

osv:CVE-2021-32494
Complete source record
{
  "id": "ae974d229095e6c6411ce1c9df4bbbf124a81a4ac67459d4a01e4ab84b0b8479",
  "url": "https://osv.dev/vulnerability/CVE-2021-32494",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32494",
    "summary": "Radare2 has a division by zero vulnerability in Mach-O parser's rebase_buffer function. This allow attackers to create malicious inputs that can cause denial of service.",
    "evidence": "osv:CVE-2021-32494",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-32494",
      "aliases": [
        "CVE-2021-32494"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/radareorg/radare2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ee753c25094c6e1c62dfb9596423824251dbc943"
                },
                {
                  "last_affected": "ee753c25094c6e1c62dfb9596423824251dbc943"
                },
                {
                  "fixed": "a07dedb804a82bc01c07072861942dd80c6b6d62"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:radare:radare2:5.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3.0"
                      },
                      {
                        "last_affected": "5.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a07dedb804a82bc01c07072861942dd80c6b6d62"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32494.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-32494-2834f321",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "211921345178114093370428947692498009900",
                    "154239016323387656120110791473062974521",
                    "197634429748365036978182416865077052005",
                    "211074051710044500989675597504644777329",
                    "217178479459434555199088203652955891060"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/a07dedb804a82bc01c07072861942dd80c6b6d62",
                "target": {
                  "file": "libr/bin/p/bin_mach0.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:02:44Z"
          }
        }
      ],
      "modified": "2026-10-20T14:02:44.302657948Z",
      "provider": "osv",
      "references": [
        "https://github.com/radareorg/radare2/commit/a07dedb804a82bc01c07072861942dd80c6b6d62",
        "https://github.com/radareorg/radare2/issues/18667"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32494",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388526,
  "published_at": "2023-07-07T19:15:09.507+00:00"
}