Vulnerability · Published Mar 1, 2025 · Assigned by VulDB
CVE-2025-1788rizinorg rizin utf8.c rz_utf8_encode heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in rizin from rizinorg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities).
Official 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 products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- VDB-298011 | rizinorg rizin utf8.c rz_utf8_encode heap-based overflow vdb-entry, technical-description
- VDB-298011 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #502345 | https://github.com/rizinorg/rizin rizin/rz-bin 309f57434dfa17954f02cdcbb3a2ac4108651767 Buffer Overflow third-party-advisory
- https://github.com/rizinorg/rizin/issues/4910 issue-tracking
- https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253 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