CVE-2022-1237

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1237
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1237.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1237
Downstream
Related
Published
2022-04-06T09:35:11Z
Modified
2025-12-09T16:59:17.033094Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H CVSS Calculator
Summary
Improper Validation of Array Index in radareorg/radare2
Details

Improper Validation of Array Index in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability is heap overflow and may be exploitable. For more general description of heap buffer overflow, see CWE.

Database specific
{
    "cwe_ids": [
        "CWE-129"
    ],
    "cna_assigner": "@huntrdev",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1237.json"
}
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

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
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.7.0
3.7.1
3.8.0
3.9.0

4.*

4.0.0
4.1.0
4.1.1
4.2.0
4.2.1
4.3.0
4.3.1
4.4.0
4.5.1

5.*

5.0.0
5.1.0
5.1.1
5.2.0
5.2.1
5.3.0
5.3.1
5.4.0
5.4.0-git
5.4.2
5.5.0
5.5.2
5.5.4
5.6.0
5.6.2
5.6.4
5.6.6

Other

Continuous-Windows
continuous
radare2-windows-nightly
termux

release-5.*

release-5.0.0

Git / github.com/radareorg/radare2

Affected ranges

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
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.7.0
3.7.1
3.8.0
3.9.0

4.*

4.0.0
4.1.0
4.1.1
4.2.0
4.2.1
4.3.0
4.3.1
4.4.0
4.5.1

5.*

5.0.0
5.1.0
5.1.1
5.2.0
5.2.1
5.3.0
5.3.1
5.4.0
5.4.0-git
5.4.2
5.5.0
5.5.2
5.5.4
5.6.0
5.6.2
5.6.4
5.6.6

Other

Continuous-Windows
continuous
radare2-windows-nightly
termux

release-5.*

release-5.0.0

Database specific

vanir_signatures

[
    {
        "id": "CVE-2022-1237-14bf07fc",
        "digest": {
            "length": 1124.0,
            "function_hash": "212461743017968634586153363735706410678"
        },
        "target": {
            "file": "libr/bin/format/ne/ne.c",
            "function": "__init"
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/2d782cdaa2112c10b8dd5e7a93c134b2ada9c1a6"
    },
    {
        "id": "CVE-2022-1237-19f7e430",
        "digest": {
            "length": 769.0,
            "function_hash": "312590666163101270630893086992354657332"
        },
        "target": {
            "file": "libr/bin/format/ne/ne.c",
            "function": "r_bin_ne_get_segments"
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/2d782cdaa2112c10b8dd5e7a93c134b2ada9c1a6"
    },
    {
        "id": "CVE-2022-1237-650a977d",
        "digest": {
            "length": 3130.0,
            "function_hash": "279445059409267410296919349845188405100"
        },
        "target": {
            "file": "libr/bin/format/ne/ne.c",
            "function": "r_bin_ne_get_relocs"
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/2d782cdaa2112c10b8dd5e7a93c134b2ada9c1a6"
    },
    {
        "id": "CVE-2022-1237-8844f929",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "313238745765593098916398371711611719026",
                "285354608813098916154529260069139576893",
                "286958963303345002870424340772319616611",
                "278245041796832390187987854379937729314",
                "44161756031751915505094976915419864255",
                "160931447799544738429521903482229937318",
                "33311708342681056721883058213194771639",
                "290896371034250184478816289964205222301",
                "90995906634641978680220865597770704329",
                "328021507538455273316348755976480422136",
                "51085329808628515573223678349538124018",
                "103897563537280529804890557582727421491",
                "203343622144456296839341978936902773643",
                "132728641441435235404390189462423297449",
                "220367250189815707842624022974412684568",
                "272843135878373644043154333433921004047",
                "257672823049057738669414196286800807046",
                "43131456641423669542650334085100755353",
                "311389901187714830431726187042502027463",
                "14627559400167382318230096722818527534",
                "158952365053033429299240922740344980766",
                "77798025342715016000801823701862325383",
                "292770341592697073024709075594571309837",
                "152527434330706178348542513598339955706",
                "336268092676388192736019445597462727161",
                "80857286874131624592486978757623621591",
                "11929221718300295321011889736232398917",
                "244586696951920592024541961027622380500",
                "114948595547177084329858880478192439140",
                "204973326996423658686719912152733999265",
                "65360407696006289699126105974037334708",
                "307505140124437535344375183026984433856",
                "15315913750371117039471350980938507391"
            ]
        },
        "target": {
            "file": "libr/bin/format/ne/ne.c"
        },
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/radareorg/radare2/commit/2d782cdaa2112c10b8dd5e7a93c134b2ada9c1a6"
    }
]