Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20461

In radare2 prior to 3.1.1, core_anal_bytes in libr/core/cmd_anal.c allows attackers to cause a denial-of-service (application crash caused by out-of-bounds read) by crafting a binary file.

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

Source evidence

CVE-2018-20461

core-osv · Original source

Published 25 Dec 2018, 19:29 UTC

In radare2 prior to 3.1.1, core_anal_bytes in libr/core/cmd_anal.c allows attackers to cause a denial-of-service (application crash caused by out-of-bounds read) by crafting a binary file.

osv:CVE-2018-20461
Complete source record
{
  "id": "f66cab668e6f540512d5626fcb87b8e3c628c9fe6a5ef8c8e7c141781f2b5256",
  "url": "https://osv.dev/vulnerability/CVE-2018-20461",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20461",
    "summary": "In radare2 prior to 3.1.1, core_anal_bytes in libr/core/cmd_anal.c allows attackers to cause a denial-of-service (application crash caused by out-of-bounds read) by crafting a binary file.",
    "evidence": "osv:CVE-2018-20461",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-20461",
      "aliases": [
        "CVE-2018-20461"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/radareorg/radare2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b143e1b1b5622ef2f41a90f4c0f7ed4c477caf40"
                },
                {
                  "fixed": "a1bc65c3db593530775823d6d7506a457ed95267"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a1bc65c3db593530775823d6d7506a457ed95267"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.0",
            "3.0.1",
            "3.0.0",
            "2.9.0",
            "2.8.0",
            "2.7.0",
            "2.6.9",
            "2.6.0",
            "2.5.0",
            "2.4.0",
            "2.2.0",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.6.0",
            "1.5.0",
            "1.4.0",
            "1.3.0",
            "1.3.0-git",
            "1.2.0",
            "1.2.0-git",
            "1.1.0",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "1.0",
            "0.10.6",
            "0.10.5",
            "0.10.4-termux4",
            "termux",
            "0.10.4",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10.0",
            "radare2-windows-nightly",
            "0.9.9",
            "0.9.8",
            "0.9.8-rc4",
            "0.9.8-rc3",
            "0.9.8-rc2",
            "0.9.8-rc1",
            "0.9.7",
            "0.9.6",
            "0.9.4",
            "0.9.2",
            "0.9",
            "0.8.8",
            "0.8.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20461.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-20461-2da2486c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "141922767497694566857471600417002808574",
                    "202971344102847513116706235972988480109",
                    "204906643096746229272438816759673927839",
                    "246677730259905368784299160301387041098",
                    "118961935678002953960032977815270633552",
                    "331753373512213627346819294127384268893",
                    "163462107992012366078219464097149674579",
                    "186667005095909390127282518954691185377",
                    "296887138975345231291263535285940170103",
                    "192236779187837678520392442297251062244",
                    "296934725901617010876648954835534047387",
                    "224351623619811101406132695197505232617",
                    "36562927369722457557391958214597954523"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/a1bc65c3db593530775823d6d7506a457ed95267",
                "target": {
                  "file": "libr/core/cmd_anal.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-20461-74212d20",
                "digest": {
                  "length": 217,
                  "function_hash": "161720472885181522724332432472867243711"
                },
                "source": "https://github.com/radareorg/radare2/commit/b143e1b1b5622ef2f41a90f4c0f7ed4c477caf40",
                "target": {
                  "file": "libr/bin/format/mach0/dyldcache.c",
                  "function": "r_buf_read_string"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-20461-7e5c644c",
                "digest": {
                  "length": 8884,
                  "function_hash": "98473140861514469170234810120418040435"
                },
                "source": "https://github.com/radareorg/radare2/commit/a1bc65c3db593530775823d6d7506a457ed95267",
                "target": {
                  "file": "libr/core/cmd_anal.c",
                  "function": "core_anal_bytes"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-20461-b11dda58",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "91826688001801390993882391060580842390",
                    "153573451393114912523381648709776456045",
                    "76273051819025290594568241401172330628",
                    "223983239877208572709103316397190836729",
                    "182546693358306982969485629985754146842"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/b143e1b1b5622ef2f41a90f4c0f7ed4c477caf40",
                "target": {
                  "file": "libr/bin/format/mach0/dyldcache.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:22:23Z"
          }
        }
      ],
      "modified": "2026-10-20T13:22:23.448462382Z",
      "provider": "osv",
      "references": [
        "https://github.com/radare/radare2/commit/a1bc65c3db593530775823d6d7506a457ed95267",
        "https://github.com/radare/radare2/issues/12375"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-20461",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387578,
  "published_at": "2018-12-25T19:29:00.603+00:00"
}