Read the docs
TI-2023-20912 Aliases CVE-2023-40022

Rizin vulnerable to Integer Overflow in C++ demangler logic

Priority LOW 36CWE-190Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.6.0 and prior are vulnerable to integer overflow in `consume_count` of `src/gnu_v2/cplus-dem.c`. The overflow check is valid logic but, is missing the modulus if the block once compiled. The compiler sees this block as unreachable code since the prior statement is multiplication by 10 and fails to consider overflow assuming the count will always be a multiple of 10. Rizin version 0.6.1 contains a fix for the issue. A temporary workaround would be disabling C++ demangling using the configuration option `bin.demangle=false`.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00291 21st percentileScored 2026-11-07
Fix Fixed rizin (rizinorg): 0.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rizinorgrizinbefore 0.6.10.6.1Patch availableCNA
  • rizin Vendorrizinorg Affected before 0.6.1 Fixed in 0.6.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*before 0.6.1Vulnerablerizinorg
  • cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:* Versions before 0.6.1 Vulnerable ·rizinorg

Remediation

  • Fix · CNA rizin (rizinorg) Fixed in 0.6.1

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-40022

References

  • TI-2021-02614 Memory corruption in rizin CVSS 3.1HIGH 7.8
  • TI-2025-01540 rizinorg rizin utf8.c rz_utf8_encode heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2025-01538 rizinorg rizin pdb.c msf_stream_directory_free buffer overflow CVSS 4.0MEDIUM 4.8
  • TI-2024-20906 rizin before v0.6.3 is vulnerable to Improper Neutralization of Special Elements via… CVSS 3.1CRITICAL 9.1
  • TI-2024-20907 rizin before Release v0.6.3 is vulnerable to Uncontrolled Resource Consumption via… CVSS 3.1HIGH 7.5
  • TI-2023-12300 Rizin has stack-based buffer overflow when parsing GDB registers profile files CVSS 3.1HIGH 7.8
See all 19 →

Sources