{"id":"CVE-2025-1788","summary":"rizinorg rizin utf8.c rz_utf8_encode heap-based overflow","details":"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.","modified":"2026-08-12T03:51:43.750047258Z","published":"2025-03-01T12:31:08.574Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1788.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1788.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1788"},{"type":"ADVISORY","url":"https://vuldb.com/?id.298011"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.502345"},{"type":"REPORT","url":"https://github.com/rizinorg/rizin/issues/4910"},{"type":"REPORT","url":"https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.298011"},{"type":"FIX","url":"https://github.com/rizinorg/rizin/pull/4762"},{"type":"EVIDENCE","url":"https://github.com/user-attachments/files/18817099/rz-bin-poc-01.zip"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rizinorg/rizin","events":[{"introduced":"74ca7ff0d1a95d3604b1900311e18741af097ec4"},{"last_affected":"1b6f736c65b9fb8b7ce8a05706edab0f4148985c"}],"database_specific":{"cpe":"cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.1"},{"last_affected":"0.1"},{"introduced":"0.2"},{"last_affected":"0.2"},{"introduced":"0.3"},{"last_affected":"0.3"},{"introduced":"0.4"},{"last_affected":"0.4"},{"introduced":"0.5"},{"last_affected":"0.5"},{"introduced":"0.6"},{"last_affected":"0.6"},{"introduced":"0.7"},{"last_affected":"0.7"},{"introduced":"0.8"},{"last_affected":"0.8"},{"introduced":"0"},{"last_affected":"0.8.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","v0.8.0","v0.7.4","v0.7.3","v0.7.2","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.2","v0.1.1","v0.1.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1788.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}