CVE-2022-1031

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-1031
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1031.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1031
Downstream
Related
Published
2022-03-22T20:15:07Z
Modified
2025-10-22T18:50:30.430666Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Use After Free in opisset_bp in GitHub repository radareorg/radare2 prior to 5.6.6.

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

Other

Continuous-Windows
continuous
radare2-windows-nightly
termux

release-5.*

release-5.0.0

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "248703042087547650931829489021330946693",
                "303082029420654455372568773614294085007",
                "233835211568827527701686548302743389874",
                "237053497720261221732558082134243876349",
                "39552186032153365246311784909057731859",
                "259015929924226254055811560665894860234",
                "306265339556989330828556346707571755272",
                "239698056189293661340679831939965898025",
                "152218095028500660250169403200519688878",
                "85487560684615839369043740098829315278",
                "208399799703906950163957621798976264600"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2022-1031-0e8aff06",
        "target": {
            "file": "libr/debug/dreg.c"
        },
        "source": "https://github.com/radare/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "328844296527964699559187876661418238576",
                "253920139967170652729387284666385654249",
                "117571790103213992821300394342125765222",
                "10396150301260521368715778446628543679"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2022-1031-18778cc5",
        "target": {
            "file": "libr/core/cmd_anal.c"
        },
        "source": "https://github.com/radare/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "digest": {
            "function_hash": "91655719831952633604622023602399838594",
            "length": 5910.0
        },
        "deprecated": false,
        "id": "CVE-2022-1031-4e88202b",
        "target": {
            "function": "r_core_esil_step",
            "file": "libr/core/cmd_anal.c"
        },
        "source": "https://github.com/radare/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "digest": {
            "function_hash": "10552958541101443880575713688090510761",
            "length": 875.0
        },
        "deprecated": false,
        "id": "CVE-2022-1031-5335f1d4",
        "target": {
            "function": "r_debug_reg_get_err",
            "file": "libr/debug/dreg.c"
        },
        "source": "https://github.com/radare/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Function"
    }
]

Git / github.com/radare/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

Other

Continuous-Windows
continuous
radare2-windows-nightly
termux

release-5.*

release-5.0.0

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "42457981294929361429104057358466175028",
                "178715800398815826668431705503500048307",
                "196604128643475474893595875631477031321",
                "53455984433291177817647516269557053455",
                "19396533657360091002493567628048499543",
                "43048345433576006651608071038848890124",
                "73908957958007495517915212600947468644",
                "260930531380318639045441835752127705955",
                "59205319774490041541193072441454318465",
                "282984743331017186145876636024780012940",
                "140642091836608479022344933790768268552",
                "294764185787093021974247481061133643389",
                "75407180318704451699303769443305508093",
                "158980597460211409526476984135836647391",
                "121181880599789425713647555484692237456",
                "41425718434136360358354038221642896330",
                "6945053602773616777357841399225761126",
                "270582509920539726381010757612693664138",
                "247434241401200113714546036415375193533"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2022-1031-1869d89e",
        "target": {
            "file": "libr/anal/fcn.c"
        },
        "source": "https://github.com/radareorg/radare2/commit/a7ce29647fcb38386d7439696375e16e093d6acb",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "digest": {
            "function_hash": "159140418968050978844455635130301846594",
            "length": 45750.0
        },
        "deprecated": false,
        "id": "CVE-2022-1031-ae367864",
        "target": {
            "function": "fcn_recurse",
            "file": "libr/anal/fcn.c"
        },
        "source": "https://github.com/radareorg/radare2/commit/a7ce29647fcb38386d7439696375e16e093d6acb",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "digest": {
            "function_hash": "194976517785574874659105550968079063608",
            "length": 5182.0
        },
        "deprecated": false,
        "id": "CVE-2022-1031-bf32c5ee",
        "target": {
            "function": "extract_arg",
            "file": "libr/anal/var.c"
        },
        "source": "https://github.com/radareorg/radare2/commit/a7ce29647fcb38386d7439696375e16e093d6acb",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "288121590758434587560708141344482165752",
                "3249364178751432844142620367135350127",
                "155487039344148962790201622203555291178",
                "300004962137968778630596817518910963386"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2022-1031-d153a9b8",
        "target": {
            "file": "libr/anal/var.c"
        },
        "source": "https://github.com/radareorg/radare2/commit/a7ce29647fcb38386d7439696375e16e093d6acb",
        "signature_type": "Line"
    }
]