Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12322

There is a heap out of bounds read in radare2 2.6.0 in _6502_op() in libr/anal/p/anal_6502.c via a crafted iNES ROM binary file.

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

Source evidence

CVE-2018-12322

core-osv · Original source

Published 13 Jun 2018, 16:29 UTC

There is a heap out of bounds read in radare2 2.6.0 in _6502_op() in libr/anal/p/anal_6502.c via a crafted iNES ROM binary file.

osv:CVE-2018-12322
Complete source record
{
  "id": "6226e4a46a23bae197dd6a10fce3510f87e0e1fbc5a5cf126efaf2caefe9d477",
  "url": "https://osv.dev/vulnerability/CVE-2018-12322",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12322",
    "summary": "There is a heap out of bounds read in radare2 2.6.0 in _6502_op() in libr/anal/p/anal_6502.c via a crafted iNES ROM binary file.",
    "evidence": "osv:CVE-2018-12322",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-12322",
      "aliases": [
        "CVE-2018-12322"
      ],
      "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": "83ef480221ec29d82c16003c61d0dc86b8851d38"
                },
                {
                  "last_affected": "83ef480221ec29d82c16003c61d0dc86b8851d38"
                },
                {
                  "fixed": "bbb4af56003c1afdad67af0c4339267ca38b1017"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:radare:radare2:2.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0"
                      },
                      {
                        "last_affected": "2.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bbb4af56003c1afdad67af0c4339267ca38b1017"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12322.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-12322-a966b10f",
                "digest": {
                  "length": 11727,
                  "function_hash": "180132918625121190672768699203791564937"
                },
                "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
                "target": {
                  "file": "libr/anal/p/anal_6502.c",
                  "function": "_6502_op"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-12322-c7001545",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "231645514673025196327669108823980486706",
                    "7990384544805109744236812106735120194",
                    "104688841592412375850092821783487038875",
                    "66526571645010919539612101223632530943",
                    "268464125928449792427081351470959488407",
                    "334010739157675249115006055516902133311"
                  ]
                },
                "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
                "target": {
                  "file": "libr/anal/p/anal_6502.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:26:26Z"
          }
        }
      ],
      "modified": "2026-10-20T13:26:26.847225613Z",
      "provider": "osv",
      "references": [
        "https://github.com/radare/radare2/issues/10294",
        "https://github.com/radare/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-12322",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387687,
  "published_at": "2018-06-13T16:29:01.627+00:00"
}