{"id":"CVE-2023-27590","published":"2023-03-14T20:37:59Z","modified":"2025-02-25T14:57:31Z","title":"Rizin has stack-based buffer overflow when parsing GDB registers profile files","vendor":"rizinorg","product":"rizin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.25613,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-rqcp-m8m2-jcqf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rizinorg/rizin/pull/3422","tags":["x_refsource_MISC"]},{"url":"https://github.com/rizinorg/rizin/commit/d6196703d89c84467b600ba2692534579dc25ed4","tags":["x_refsource_MISC"]},{"url":"https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L514","tags":["x_refsource_MISC"]},{"url":"https://github.com/rizinorg/rizin/blob/3a7d5116244beb678ad9950bb9dd27d28ed2691f/librz/reg/profile.c#L545","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WW3JXI4TIJIR7PGFP74SN7GQYHW2F46Y/","tags":[]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.12},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"rizinorg","affectedVersions":[{"vendor":"rizinorg","product":"rizin","versions":["<= 0.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-25T14:29:22.987138Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-31332","exploited":false,"provenance":"source"}}