4.8medium
rizinorg rizin utf8.c rz_utf8_encode heap-based overflow
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability, which was classified as critical, was found in rizinorg rizin up to 0.8.0. This affects the function rz_utf8_encode in the library /librz/util/utf8.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rizinorg rizin | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 | CVE List |
| rizin rizin | up to 0.8.0 | NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
A vulnerability, which was classified as critical, was found in rizinorg rizin up to 0.8.0. This affects the function rz_utf8_encode in the library /librz/util/utf8.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue.
CVE List (de)
Es wurde eine kritische Schwachstelle in rizinorg rizin bis 0.8.0 gefunden. Hiervon betroffen ist die Funktion rz_utf8_encode in der Bibliothek /librz/util/utf8.c. Durch Beeinflussen mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit steht zur öffentlichen Verfügung. Als bestmögliche Massnahme wird Patching empfohlen.
NVD (es)
Se ha encontrado una vulnerabilidad clasificada como crítica en rizinorg rizin hasta la versión 0.8.0. Afecta a la función rz_utf8_encode de la biblioteca /librz/util/utf8.c. La manipulación provoca un desbordamiento del búfer basado en el montón. El ataque debe realizarse de forma local. Se ha hecho público el exploit y puede que sea utilizado. Se recomienda aplicar un parche para solucionar este problema.
References
| https://vuldb.com/?id.298011 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.298011 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.502345 | exploit, third-party-advisory, vdb-entry | |
| https://github.com/rizinorg/rizin/issues/4910 | exploit, issue-tracking | |
| https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253 | exploit, issue-tracking | |
| https://github.com/user-attachments/files/18817099/rz-bin-poc-01.zip | exploit | |
| https://github.com/rizinorg/rizin/pull/4762 | issue-tracking, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-1788 changed 2025-03-03 | CVE Terms of Use |
| NVD | CVE-2025-1788 changed 2026-06-17 | Public domain |