Radare2 has a use-after-free vulnerability in pyc parser's getnoneobject function. Attacker can read freed memory afterwards. This will allow attackers to cause denial of service.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "5.3.0"
}
]
}[
{
"target": {
"function": "get_none_object",
"file": "libr/bin/format/pyc/marshal.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/5e16e2d1c9fe245e4c17005d779fde91ec0b9c05",
"digest": {
"length": 228.0,
"function_hash": "281144442903635776283408469084151380870"
},
"id": "CVE-2021-32495-89e7b878",
"signature_type": "Function"
},
{
"target": {
"file": "libr/bin/format/pyc/marshal.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/5e16e2d1c9fe245e4c17005d779fde91ec0b9c05",
"digest": {
"threshold": 0.9,
"line_hashes": [
"293727422535202617895383407783017198569",
"325426534639164205903082921648749687711",
"228831602891691957477592427643617201977",
"224186186095923557659101101390381017579",
"212850913520644578786064218748185165524",
"172004653938665698361432276404790548809",
"26425263749308728204585716171309190508",
"149829655951370627201221230733046478701",
"246419025862705036512837914482105705955",
"228127056506232150828101904703011610912"
]
},
"id": "CVE-2021-32495-e60a11fd",
"signature_type": "Line"
},
{
"target": {
"function": "get_object",
"file": "libr/bin/format/pyc/marshal.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/5e16e2d1c9fe245e4c17005d779fde91ec0b9c05",
"digest": {
"length": 2432.0,
"function_hash": "152887779541464158850990740854948468430"
},
"id": "CVE-2021-32495-f6dc3e9a",
"signature_type": "Function"
}
]
"2026-04-10T09:34:19Z"
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32495.json"