Medium
Security advisory
The dex_loadcode function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted DEX file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-6387
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:10 UTC · Revision 1
Source evidence
The dex_loadcode function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted DEX file.
osv:CVE-2017-6387
Complete source record
{
"id": "c1693fe85c730b68196d8671a3c4581475bc9d44b1ba0393e30a8a8df00e75d3",
"url": "https://osv.dev/vulnerability/CVE-2017-6387",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-6387",
"summary": "The dex_loadcode function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted DEX file.",
"evidence": "osv:CVE-2017-6387",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-6387",
"aliases": [
"CVE-2017-6387"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/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": "7482dee932d3e280c8adb66b1d8f08ca36148ed5"
},
{
"last_affected": "7482dee932d3e280c8adb66b1d8f08ca36148ed5"
},
{
"fixed": "ead645853a63bf83d8386702cad0cf23b31d7eeb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:radare:radare2:1.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.1"
},
{
"last_affected": "1.2.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "ead645853a63bf83d8386702cad0cf23b31d7eeb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6387.json",
"vanir_signatures": [
{
"id": "CVE-2017-6387-07809551",
"digest": {
"length": 3204,
"function_hash": "335442029035390333840336872194189161314"
},
"source": "https://github.com/radareorg/radare2/commit/ead645853a63bf83d8386702cad0cf23b31d7eeb",
"target": {
"file": "libr/bin/p/bin_dex.c",
"function": "dex_loadcode"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-6387-690ab52a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"12048690257733855901675794664646069882",
"41796606058446477588876811469427034311",
"75508384948667852256739037513783558895",
"56988687516368604394967782178538073684"
]
},
"source": "https://github.com/radareorg/radare2/commit/ead645853a63bf83d8386702cad0cf23b31d7eeb",
"target": {
"file": "libr/bin/p/bin_dex.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:15:53Z"
}
}
],
"modified": "2026-10-20T13:15:53.634273098Z",
"provider": "osv",
"references": [
"https://github.com/radare/radare2/commit/ead645853a63bf83d8386702cad0cf23b31d7eeb",
"https://github.com/radare/radare2/issues/6857"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-6387",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387426,
"published_at": "2017-03-02T01:59:00.22+00:00"
}