{"id":"CVE-2021-4021","aliases":["ALPINE-CVE-2021-4021","EUVD-2021-33924","GHSA-4g55-4fxv-2g82","MGASA-2022-0440","UBUNTU-CVE-2021-4021"],"status":"published","title":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping...","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01075,"percentile":0.65389,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-834"],"published":"2022-02-24T18:50:10Z","modified":"2026-11-03T06:32:41Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"radare2","fixed_in":["5.5.2-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.2-r0"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.4-1.mga8"}]}],"bundled":19},{"source":"osv","ecosystem":"Mageia:8","package":"radare2-cutter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-2.mga8"}]}],"bundled":19},{"source":"osv","ecosystem":"Mageia:8","package":"rizin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1-1.mga8"}]}],"bundled":19},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-3.1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0+dfsg-1","2.0.0+dfsg-1","2.1.0+dfsg-1","2.3.0+dfsg-1","2.3.0+dfsg-2","2.3.0+dfsg-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1+dfsg-5build1","4.0.0+dfsg-1","4.2.1+dfsg-1","4.2.1+dfsg-2","4.2.1+dfsg-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.0+dfsg-1ubuntu1","5.5.0+dfsg-1.1ubuntu2","5.5.0+dfsg-1.1ubuntu3","5.5.0+dfsg-1.1ubuntu3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.8+dfsg-2","5.9.8+dfsg-2ubuntu0.25.10.1","5.9.8+dfsg-2ubuntu0.25.10.2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.7+ds-1","6.1.6+ds-2","6.1.6+ds-3","6.1.8+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"radare2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.8+dfsg-2","6.0.4+dfsg-1","6.0.7+ds-1"]}],"products":[{"vendor":"radare","product":"radare2"},{"vendor":"radare2","product":"radare2"}],"references":[{"url":"https://github.com/radareorg/radare2/issues/19436","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4021"},{"url":"https://github.com/advisories/GHSA-4g55-4fxv-2g82"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-4021","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0440.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29163","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/V2UL4V4XKSFJVNNUMFV443UJXGDBYGS4/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/JIARALLVVY2362AYFSFULTZKIW6QO5R5/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/IQIRJ72UALGMSWH6MYPVJQQLXFGZ23RS/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/E6YBRQ3UCFWJVSOYIKPVUDASZ544TFND/","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2022/05/25/1","tags":["web"]},{"url":"https://census-labs.com/news/2022/05/24/multiple-vulnerabilities-in-radare2/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-4021","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4021","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-4021","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T18:50:10Z","modified":"2024-08-03T17:16:03.457Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:07.697752Z"}],"euvd":[{"id":"EUVD-2021-33924","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T18:50:10Z","modified":"2024-08-03T17:16:03Z","updated_at":"2026-11-03T03:25:10.888157Z"}],"ghsa":[{"id":"GHSA-4g55-4fxv-2g82","title":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping...","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-25T00:00:58Z","modified":"2023-01-28T05:02:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-834"],"updated_at":"2026-11-02T14:43:51.685777Z"}],"nvd":[{"id":"CVE-2021-4021","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T19:15:09.533Z","modified":"2026-06-17T04:18:54.56Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400","CWE-834"],"updated_at":"2026-11-02T14:07:05.198719Z"}],"osv":[{"id":"ALPINE-CVE-2021-4021","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T19:15:09.533Z","modified":"2026-11-03T06:32:41.208853802Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:02.90744Z"},{"id":"CVE-2021-4021","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T19:15:09.533Z","modified":"2026-10-20T10:54:55.769182902Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"UBUNTU-CVE-2021-4021","description":"A vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0, 5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64 binary for MIPS architecture can lead to uncontrolled resource consumption and DoS.","status":"published","published":"2022-02-24T19:15:00Z","modified":"2026-10-17T12:56:01.089210509Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"MGASA-2022-0440","title":"Updated radare2/rizin packages fix security vulnerability","description":"In radare2 through 5.3.0 there is a double free vulnerability in the pyc\nparse via a crafted file which can lead to DoS. (CVE-2021-32613)\n\nA vulnerability was found in Radare2 in version 5.3.1. Improper input\nvalidation when reading a crafted LE binary can lead to resource\nexhaustion and DoS. (CVE-2021-3673)\n\nA vulnerability was found in Radare2 in versions prior to 5.6.2, 5.6.0,\n5.5.4 and 5.5.2. Mapping a huge section filled with zeros of an ELF64\nbinary for MIPS architecture can lead to uncontrolled resource consumption\nand DoS. (CVE-2021-4021)\n\nradareorg radare2 version 5.5.2 is vulnerable to NULL Pointer Dereference\nvia libr/bin/p/bin_symbols.c binary symbol parser. (CVE-2021-44974)\n\nradareorg radare2 5.5.2 is vulnerable to Buffer Overflow via\n/libr/core/anal_objc.c mach-o parser. (CVE-2021-44975)\n\nradare2 is vulnerable to Out-of-bounds Read. (CVE-2022-0173)\n\nNULL Pointer Dereference in GitHub repository radareorg/radare2 prior to\n5.6.0. (CVE-2022-0419)\n\nDenial of Service in GitHub repository radareorg/radare2 prior to 5.6.4.\n(CVE-2022-0476)\n\nHeap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to\n5.6.2. (CVE-2022-0518)\n\nBuffer Access with Incorrect Length Value in GitHub repository\nradareorg/radare2 prior to 5.6.2. (CVE-2022-0519)\n\nUse After Free in NPM radare2.js prior to 5.6.2. (CVE-2022-0520)\n\nAccess of Memory Location After End of Buffer in GitHub repository\nradareorg/radare2 prior to 5.6.2. (CVE-2022-0521)\n\nAccess of Memory Location Before Start of Buffer in NPM radare2.js prior\nto 5.6.2. (CVE-2022-0522)\n\nExpired Pointer Dereference in GitHub repository radareorg/radare2 prior\nto 5.6.2. (CVE-2022-0523)\n\nUse After Free in GitHub repository radareorg/radare2 prior to 5.6.2.\n(CVE-2022-0559)\n\nHeap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to\n5.6.4. (CVE-2022-0676)\n\nDenial of Service in GitHub repository radareorg/radare2 prior to 5.6.4.\n(CVE-2022-0695)\n\nNULL Pointer Dereference in GitHub repository radareorg/radare2 prior to\n5.6.4. (CVE-2022-0712)\n\nHeap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to\n5.6.4. (CVE-2022-0713)\n","status":"published","published":"2022-11-27T20:51:49Z","modified":"2026-04-16T04:42:57.116203436Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
