# CVE-2023-27590: Rizin has stack-based buffer overflow when parsing GDB registers profile files

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2023-03-14T20:37:59.269Z
- Modified: 2026-06-17T05:45:32.120Z
- Weaknesses: CWE-120, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rizinorg rizin: <= 0.5.1
- rizin rizin: up to 0.5.1

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf> (patch, vendor-advisory)
- <https://github.com/rizinorg/rizin/pull/3422> (issue-tracking, patch)
- <https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4> (patch)
- <https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514> (issue-tracking)
- <https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545> (product)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/>

## Sources

- CVE List: [CVE-2023-27590](https://www.cve.org/CVERecord?id=CVE-2023-27590), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-27590](https://nvd.nist.gov/vuln/detail/CVE-2023-27590), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27590 · Whole record: https://cve.day/CVE-2023-27590.json · Rebuilt by cve.day 2026-11-25T22:58:22.455Z
