CVE-2018-20461

Source
https://cve.org/CVERecord?id=CVE-2018-20461
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20461.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20461
Downstream
Published
2018-12-25T19:29:00.603Z
Modified
2026-04-11T14:54:24.910749Z
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

In radare2 prior to 3.1.1, coreanalbytes in libr/core/cmd_anal.c allows attackers to cause a denial-of-service (application crash caused by out-of-bounds read) by crafting a binary file.

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.1"
        }
    ]
}
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
3.1.0
Other
radare2-windows-nightly
termux

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20461.json"
vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "141922767497694566857471600417002808574",
                "202971344102847513116706235972988480109",
                "204906643096746229272438816759673927839",
                "246677730259905368784299160301387041098",
                "118961935678002953960032977815270633552",
                "331753373512213627346819294127384268893",
                "163462107992012366078219464097149674579",
                "186667005095909390127282518954691185377",
                "296887138975345231291263535285940170103",
                "192236779187837678520392442297251062244",
                "296934725901617010876648954835534047387",
                "224351623619811101406132695197505232617",
                "36562927369722457557391958214597954523"
            ]
        },
        "id": "CVE-2018-20461-2da2486c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/radareorg/radare2/commit/a1bc65c3db593530775823d6d7506a457ed95267",
        "target": {
            "file": "libr/core/cmd_anal.c"
        }
    },
    {
        "digest": {
            "length": 8884.0,
            "function_hash": "98473140861514469170234810120418040435"
        },
        "id": "CVE-2018-20461-7e5c644c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/radareorg/radare2/commit/a1bc65c3db593530775823d6d7506a457ed95267",
        "target": {
            "function": "core_anal_bytes",
            "file": "libr/core/cmd_anal.c"
        }
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91826688001801390993882391060580842390",
                "153573451393114912523381648709776456045",
                "76273051819025290594568241401172330628",
                "223983239877208572709103316397190836729",
                "182546693358306982969485629985754146842"
            ]
        },
        "id": "CVE-2018-20461-c708ff72",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/radare/radare2/commit/b143e1b1b5622ef2f41a90f4c0f7ed4c477caf40",
        "target": {
            "file": "libr/bin/format/mach0/dyldcache.c"
        }
    },
    {
        "digest": {
            "length": 217.0,
            "function_hash": "161720472885181522724332432472867243711"
        },
        "id": "CVE-2018-20461-f5af8262",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/radare/radare2/commit/b143e1b1b5622ef2f41a90f4c0f7ed4c477caf40",
        "target": {
            "function": "r_buf_read_string",
            "file": "libr/bin/format/mach0/dyldcache.c"
        }
    }
]
vanir_signatures_modified
"2026-04-11T14:54:24Z"