CVE-2018-19842

Source
https://cve.org/CVERecord?id=CVE-2018-19842
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19842.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19842
Downstream
Published
2018-12-04T09:29:00.710Z
Modified
2026-03-14T09:29:24.174379Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

getToken in libr/asm/p/asmx86nz.c in radare2 before 3.1.0 allows attackers to cause a denial of service (stack-based buffer over-read) via crafted x86 assembly data, as demonstrated by rasm2.

References

Affected packages

Git / github.com/radare/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radare/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.1.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.4-termux4
0.10.5
0.10.6
0.8.6
0.8.8
0.9
0.9.2
0.9.4
0.9.6
0.9.7
0.9.8
0.9.8-rc1
0.9.8-rc2
0.9.8-rc3
0.9.8-rc4
0.9.9
1.*
1.0
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.0-git
1.3.0
1.3.0-git
1.4.0
1.5.0
1.6.0
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.4.0
2.5.0
2.6.0
2.6.9
2.7.0
2.8.0
2.9.0
3.*
3.0.0
3.0.1
Other
radare2-windows-nightly
termux

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19842.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "libr/asm/p/asm_x86_nz.c"
        },
        "source": "https://github.com/radareorg/radare2/commit/66191f780863ea8c66ace4040d0d04a8842e8432",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "17289356862643552779117616738638230764",
                "218863782527369619721098549656350751255",
                "290320381442572029114878873901956750113",
                "297897495203835988794858844677240805684",
                "177271434313444291677729203373867461009",
                "35651211959063986914497847455555591644",
                "80975977767538660953709823931627412248",
                "313607390506123454966458181526683900340",
                "289432130671053739689270343446895357773",
                "191636119298625527863592410983501793028",
                "22809562492750362425439120063100732326",
                "58660093387601925117607657048549441976",
                "215235810792463894212391932677201206971",
                "297697175989800728676707968863080534874",
                "120708633053791330654917401913261671029",
                "88629528405458015762772855361877408566",
                "241086510162143667321637698022623388458"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-19842-05c1c3e4",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "libr/asm/p/asm_x86_nz.c",
            "function": "getToken"
        },
        "source": "https://github.com/radareorg/radare2/commit/66191f780863ea8c66ace4040d0d04a8842e8432",
        "deprecated": false,
        "digest": {
            "function_hash": "137780432575582775683134105875768059340",
            "length": 634.0
        },
        "id": "CVE-2018-19842-22a0d70d",
        "signature_type": "Function"
    }
]