CVE-2022-1031

Source
https://cve.org/CVERecord?id=CVE-2022-1031
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1031.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-1031
Downstream
Related
Published
2022-03-22T19:40:10Z
Modified
2026-02-04T21:56:37.792065Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Use After Free in op_is_set_bp in radareorg/radare2
Details

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

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

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

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
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.6.6"
        }
    ]
}

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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1031.json"
vanir_signatures
[
    {
        "deprecated": false,
        "id": "CVE-2022-1031-24f72056",
        "target": {
            "file": "libr/core/cmd_anal.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "328844296527964699559187876661418238576",
                "253920139967170652729387284666385654249",
                "117571790103213992821300394342125765222",
                "10396150301260521368715778446628543679"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/radareorg/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "id": "CVE-2022-1031-8f750298",
        "target": {
            "file": "libr/debug/dreg.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "248703042087547650931829489021330946693",
                "303082029420654455372568773614294085007",
                "233835211568827527701686548302743389874",
                "237053497720261221732558082134243876349",
                "39552186032153365246311784909057731859",
                "259015929924226254055811560665894860234",
                "306265339556989330828556346707571755272",
                "239698056189293661340679831939965898025",
                "152218095028500660250169403200519688878",
                "85487560684615839369043740098829315278",
                "208399799703906950163957621798976264600"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/radareorg/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "id": "CVE-2022-1031-f07b5eb3",
        "target": {
            "function": "r_debug_reg_get_err",
            "file": "libr/debug/dreg.c"
        },
        "signature_version": "v1",
        "digest": {
            "function_hash": "10552958541101443880575713688090510761",
            "length": 875.0
        },
        "source": "https://github.com/radareorg/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "id": "CVE-2022-1031-ffdedd81",
        "target": {
            "function": "r_core_esil_step",
            "file": "libr/core/cmd_anal.c"
        },
        "signature_version": "v1",
        "digest": {
            "function_hash": "91655719831952633604622023602399838594",
            "length": 5910.0
        },
        "source": "https://github.com/radareorg/radare2/commit/50b8813f1df7fbae3bbcb0e8d04397cd353d4759",
        "signature_type": "Function"
    }
]