Medium
Security advisory
The r_bin_java_annotation_new function in shlr/java/class.c in radare2 2.7.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted .class file because of missing input validation in r_bin_java_line_number_table_attr_new.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-14017
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:27 UTC · Revision 1
Source evidence
The r_bin_java_annotation_new function in shlr/java/class.c in radare2 2.7.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted .class file because of missing input validation in r_bin_java_line_number_table_attr_new.
osv:CVE-2018-14017
Complete source record
{
"id": "ce96e43931ad04043b251ab0347679bdad439881ddd04747951ee507ff10f30c",
"url": "https://osv.dev/vulnerability/CVE-2018-14017",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-14017",
"summary": "The r_bin_java_annotation_new function in shlr/java/class.c in radare2 2.7.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted .class file because of missing input validation in r_bin_java_line_number_table_attr_new.",
"evidence": "osv:CVE-2018-14017",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-14017",
"aliases": [
"CVE-2018-14017"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/radareorg/radare2",
"type": "GIT",
"events": [
{
"introduced": "6e08e452a7ec231a73997c44b4ff556c2998c7d9"
},
{
"last_affected": "6e08e452a7ec231a73997c44b4ff556c2998c7d9"
},
{
"fixed": "e9ce0d64faf19fa4e9c260250fbdf25e3c11e152"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:radare:radare2:2.7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"last_affected": "2.7.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "e9ce0d64faf19fa4e9c260250fbdf25e3c11e152"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14017.json",
"vanir_signatures": [
{
"id": "CVE-2018-14017-23f715d6",
"digest": {
"length": 996,
"function_hash": "85529585468527977068094537150891062526"
},
"source": "https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"target": {
"file": "shlr/java/class.c",
"function": "r_bin_java_line_number_table_attr_new"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-14017-4fdbebb1",
"digest": {
"length": 3291,
"function_hash": "214173850067736259402998436879612460750"
},
"source": "https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"target": {
"file": "shlr/java/class.c",
"function": "r_bin_java_code_attr_new"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-14017-68a22a4f",
"digest": {
"length": 1040,
"function_hash": "124648969860573368791385072597958563523"
},
"source": "https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"target": {
"file": "shlr/java/class.c",
"function": "r_bin_java_read_next_attr_from_buffer"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-14017-b317af32",
"digest": {
"threshold": 0.9,
"line_hashes": [
"297089123182226021075923206431372777908",
"249062309487039210741101757904152070009",
"292194415459953741788486398802987237294",
"77204697837281518867133356218543815901",
"105653494383006944107046588657566325383",
"205079722161037561515891041805083702540",
"19451990613910366387522314207938992717",
"339386924056090075622944590639288042501",
"168045002177191098181197860098151351567",
"162795608352197811462549333640556575329",
"29631468869709930900675078348560057346",
"230459622328219701765477546691153883632",
"311414857219593466751702008350945405694",
"132692319730659855246353447859791383676",
"282242819687580152043434347282530588382",
"206279720433505541407895221429222965728",
"177914340506196482366428317669423171948",
"308559672750872322799265440651233255827",
"152968371416554461197607853203794162690",
"81859150084220935840043326612563736327",
"167539121274318384909784598047352068294",
"136865784567796688346817326148909664615",
"69052575642444318908036840678829159973",
"171189988534685278761991064431681965510",
"313436637592624378345371071509881146881",
"292813640722661952973113145836130312086",
"269578207079167315417364197134717906880",
"161731456310292187291328276487724722329",
"1777840080323052656498732103447577815",
"193455581717891672260094332586105593990",
"307952598748848613461167561239621948585",
"302822472831828275133864929135251849765",
"32296341047794311148839175183206050471",
"83541653563762476107013092460823063997",
"60599057251982200111271909483488686023",
"156171261000866794046566538585306643276"
]
},
"source": "https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"target": {
"file": "shlr/java/class.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-14017-dcff553e",
"digest": {
"length": 1678,
"function_hash": "264352236847510053795260178671831020487"
},
"source": "https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"target": {
"file": "shlr/java/class.c",
"function": "r_bin_java_local_variable_type_table_attr_new"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:35:46Z"
}
}
],
"modified": "2026-10-20T13:35:46.976438703Z",
"provider": "osv",
"references": [
"https://github.com/radareorg/radare2/commit/e9ce0d64faf19fa4e9c260250fbdf25e3c11e152",
"https://github.com/radare/radare2/issues/10498"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-14017",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387854,
"published_at": "2018-07-12T20:29:00.257+00:00"
}