CVE-2018-12320

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-12320
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12320.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-12320
Downstream
Published
2018-06-13T16:29:01.530Z
Modified
2025-11-17T06:29:05.174224Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

There is a use after free in radare2 2.6.0 in ranalbb_free() in libr/anal/bb.c via a crafted Java 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

[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2018-12320-2447b601",
        "source": "https://github.com/radareorg/radare2/commit/90b71c017a7fa9732fe45fd21b245ee051b1f548",
        "digest": {
            "line_hashes": [
                "331356970216246649445387627759525877433",
                "291066372085605942145331336949975246575",
                "317976507172667914129150818334350496417",
                "241092994370621084758707940460889674775"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "target": {
            "file": "libr/anal/bb.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2018-12320-34448359",
        "source": "https://github.com/radareorg/radare2/commit/90b71c017a7fa9732fe45fd21b245ee051b1f548",
        "digest": {
            "length": 824.0,
            "function_hash": "62785360955302212521407662111350079672"
        },
        "deprecated": false,
        "target": {
            "function": "r_anal_bb_free",
            "file": "libr/anal/bb.c"
        }
    }
]