CVE-2018-12322

Source
https://nvd.nist.gov/vuln/detail/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:01Z
Modified
2025-11-05T11:00:47.301100Z
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/radare/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radare/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

Git / github.com/radareorg/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.4-termux4
0.10.5
0.10.6
0.8.6
0.8.8
0.9
0.9.2
0.9.4
0.9.6
0.9.7
0.9.8
0.9.8-rc1
0.9.8-rc2
0.9.8-rc3
0.9.8-rc4
0.9.9

1.*

1.0
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.0-git
1.3.0
1.3.0-git
1.4.0
1.5.0
1.6.0

2.*

2.0.0
2.0.1
2.1.0
2.2.0
2.4.0
2.5.0
2.6.0

Other

radare2-windows-nightly
termux

Database specific

vanir_signatures

[
    {
        "id": "CVE-2018-12322-a966b10f",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
        "signature_type": "Function",
        "digest": {
            "function_hash": "180132918625121190672768699203791564937",
            "length": 11727.0
        },
        "deprecated": false,
        "target": {
            "function": "_6502_op",
            "file": "libr/anal/p/anal_6502.c"
        }
    },
    {
        "id": "CVE-2018-12322-c7001545",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/bbb4af56003c1afdad67af0c4339267ca38b1017",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "231645514673025196327669108823980486706",
                "7990384544805109744236812106735120194",
                "104688841592412375850092821783487038875",
                "66526571645010919539612101223632530943",
                "268464125928449792427081351470959488407",
                "334010739157675249115006055516902133311"
            ]
        },
        "deprecated": false,
        "target": {
            "file": "libr/anal/p/anal_6502.c"
        }
    }
]