CVE-2018-12321

Source
https://cve.org/CVERecord?id=CVE-2018-12321
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12321.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-12321
Downstream
Published
2018-06-13T16:29:01Z
Modified
2026-08-07T14:54:12Z
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 heap out of bounds read in radare2 2.6.0 in java_switch_op() in libr/anal/p/anal_java.c via a crafted Java binary file.

References

Affected packages

Git / github.com/radareorg/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Database specific
Show details
{
    "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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12321.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "15528339261126572565891708415209782515",
            "length":  1060
        },
        "id":  "CVE-2018-12321-5a98cc76",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/radareorg/radare2/commit/224e6bc13fa353dd3b7f7a2334588f1c4229e58d",
        "target":  {
            "file":  "libr/anal/p/anal_java.c",
            "function":  "java_switch_op"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "11347164457415002568317789577850001708",
                "96782647240921708976954185013161249743",
                "106943443544325360594415232942224371242",
                "60274435335811049431342599766293769602",
                "72692582669977181218845025718624051804",
                "59808701922365157621815631450304092662",
                "215157068334786450552424370924927330218",
                "304330423206222384392878343796989878421"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-12321-7e3b986d",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/radareorg/radare2/commit/224e6bc13fa353dd3b7f7a2334588f1c4229e58d",
        "target":  {
            "file":  "libr/anal/p/anal_java.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:54:12Z"