Medium
Security advisory
In radare2 through 3.1.3, the armass_assemble function in libr/asm/arch/arm/armass.c allows attackers to cause a denial-of-service (application crash by out-of-bounds read) by crafting an arm assembly input because a loop uses an incorrect index in armass.c and certain length validation is missing in armass64.c, a related issue to CVE-2018-20457.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20459
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:27 UTC · Revision 1
Source evidence
In radare2 through 3.1.3, the armass_assemble function in libr/asm/arch/arm/armass.c allows attackers to cause a denial-of-service (application crash by out-of-bounds read) by crafting an arm assembly input because a loop uses an incorrect index in armass.c and certain length validation is missing in armass64.c, a related issue to CVE-2018-20457.
osv:CVE-2018-20459
Complete source record
{
"id": "93c621e21efd5032fe8433fe29164e08532e9cab842a31c2247d7a90fc6436ab",
"url": "https://osv.dev/vulnerability/CVE-2018-20459",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-20459",
"summary": "In radare2 through 3.1.3, the armass_assemble function in libr/asm/arch/arm/armass.c allows attackers to cause a denial-of-service (application crash by out-of-bounds read) by crafting an arm assembly input because a loop uses an incorrect index in armass.c and certain length validation is missing in armass64.c, a related issue to CVE-2018-20457.",
"evidence": "osv:CVE-2018-20459",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-20459",
"aliases": [
"CVE-2018-20459"
],
"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": "0"
},
{
"last_affected": "57dd0b4e7ec70cc95f859651b1b63b076b8df7a7"
},
{
"fixed": "e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.1.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.1",
"3.0.0",
"2.9.0",
"2.8.0",
"2.7.0",
"2.6.9",
"2.6.0",
"2.5.0",
"2.4.0",
"2.2.0",
"2.1.0",
"2.0.1",
"2.0.0",
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.0",
"1.3.0-git",
"1.2.0",
"1.2.0-git",
"1.1.0",
"1.0.2",
"1.0.1",
"1.0.0",
"1.0",
"0.10.6",
"0.10.5",
"0.10.4-termux4",
"termux",
"0.10.4",
"0.10.3",
"0.10.2",
"0.10.1",
"0.10.0",
"radare2-windows-nightly",
"0.9.9",
"0.9.8",
"0.9.8-rc4",
"0.9.8-rc3",
"0.9.8-rc2",
"0.9.8-rc1",
"0.9.7",
"0.9.6",
"0.9.4",
"0.9.2",
"0.9",
"0.8.8",
"0.8.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20459.json",
"vanir_signatures": [
{
"id": "CVE-2018-20459-65313591",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234972124300723021303519189872586181159",
"64855739719150176419708370774937598661",
"126982576917966750042234182581912397903",
"2465101767988780529990207923766591025"
]
},
"source": "https://github.com/radareorg/radare2/commit/e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7",
"target": {
"file": "libr/asm/arch/arm/armass64.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-20459-81cc582b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"320504459856674577202378585621657567447",
"241052845637009396674950399335434319279",
"92424657880786021492995607119010819530",
"217390376035072865716445880018909325770"
]
},
"source": "https://github.com/radareorg/radare2/commit/e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7",
"target": {
"file": "libr/asm/arch/arm/armass.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-20459-84106391",
"digest": {
"length": 3280,
"function_hash": "159900584179997407881165760870783466648"
},
"source": "https://github.com/radareorg/radare2/commit/e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7",
"target": {
"file": "libr/asm/arch/arm/armass64.c",
"function": "parseOperands"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:37:40Z"
}
}
],
"modified": "2026-10-20T13:37:40.447485543Z",
"provider": "osv",
"references": [
"https://github.com/radare/radare2/issues/12418",
"https://github.com/radareorg/radare2/commit/e5c14c167b0dcf0a53d76bd50bacbbcc0dfc1ae7"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-20459",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387900,
"published_at": "2018-12-25T19:29:00.477+00:00"
}