CVE-2018-12322

Source
https://cve.org/CVERecord?id=CVE-2018-12322
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12322.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-12322
Downstream
Published
2018-06-13T16:29:01.627Z
Modified
2026-07-08T17:57:23.371804Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/radareorg/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Database specific
{
    "cpe": "cpe:2.3:a:radare:radare2:2.6.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.0"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.6.0

Database specific

vanir_signatures_modified
"2026-07-08T17:57:23Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 11727.0,
            "function_hash": "180132918625121190672768699203791564937"
        },
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
        "id": "CVE-2018-12322-a966b10f",
        "target": {
            "function": "_6502_op",
            "file": "libr/anal/p/anal_6502.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "231645514673025196327669108823980486706",
                "7990384544805109744236812106735120194",
                "104688841592412375850092821783487038875",
                "66526571645010919539612101223632530943",
                "268464125928449792427081351470959488407",
                "334010739157675249115006055516902133311"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
        "id": "CVE-2018-12322-c7001545",
        "target": {
            "file": "libr/anal/p/anal_6502.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12322.json"