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.
{
"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"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12321.json"
[
{
"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"
}
}
]
"2026-08-07T14:54:12Z"