Rizin has stack-based buffer overflow when parsing GDB registers profile files
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
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
Rizin is a UNIX-like reverse engineering framework and command-line toolset. In version 0.5.1 and prior, converting a GDB registers profile file into a Rizin register profile can result in a stack-based buffer overflow when the `name`, `type`, or `groups` fields have longer values than expected. Users opening untrusted GDB registers files (e.g. with the `drpg` or `arpg` commands) are affected by this flaw. Commit d6196703d89c84467b600ba2692534579dc25ed4 contains a patch for this issue. As a workaround, review the GDB register profiles before loading them with `drpg`/`arpg` commands.
Why it matters now
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
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-27590
References
Patch 3
Other 3
- https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514
- https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/
More rizinorg Rizin vulnerabilities
- 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-20912 Rizin vulnerable to Integer Overflow in C++ demangler logic CVSS 3.1HIGH 7.8
Sources
- CVE-2023-27590 · CVE Program
- CVE-2023-27590 · NVD
- FIRST EPSS
- CVE-2023-27590 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences