{"id":"CVE-2025-1788","state":"PUBLISHED","title":"rizinorg rizin utf8.c rz_utf8_encode heap-based overflow","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.","publishedAt":"2025-03-01T12:31:08.574Z","updatedAt":"2025-03-03T20:37:29.635Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["rizinorg rizin"],"affected":[{"vendor":"rizinorg","product":"rizin","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"},{"version":"0.4","status":"affected"},{"version":"0.5","status":"affected"},{"version":"0.6","status":"affected"},{"version":"0.7","status":"affected"},{"version":"0.8","status":"affected"}]}],"references":["https://vuldb.com/?id.298011","https://vuldb.com/?ctiid.298011","https://vuldb.com/?submit.502345","https://github.com/rizinorg/rizin/issues/4910","https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253","https://github.com/user-attachments/files/18817099/rz-bin-poc-01.zip","https://github.com/rizinorg/rizin/pull/4762"],"weaknesses":["CWE-122","CWE-119"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1788.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-1788","state":"PUBLISHED","datePublished":"2025-03-01T12:31:08.574Z","dateUpdated":"2025-03-03T20:37:29.635Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-02-28T17:06:09.261Z"},"containers":{"cna":{"title":"rizinorg rizin utf8.c rz_utf8_encode heap-based overflow","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"affected":[{"vendor":"rizinorg","product":"rizin","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"},{"version":"0.4","status":"affected"},{"version":"0.5","status":"affected"},{"version":"0.6","status":"affected"},{"version":"0.7","status":"affected"},{"version":"0.8","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.298011","name":"VDB-298011 | rizinorg rizin utf8.c rz_utf8_encode heap-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.298011","name":"VDB-298011 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.502345","name":"Submit #502345 | https://github.com/rizinorg/rizin rizin/rz-bin 309f57434dfa17954f02cdcbb3a2ac4108651767 Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/rizinorg/rizin/issues/4910","tags":["issue-tracking"]},{"url":"https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253","tags":["issue-tracking"]},{"url":"https://github.com/user-attachments/files/18817099/rz-bin-poc-01.zip","tags":["exploit"]},{"url":"https://github.com/rizinorg/rizin/pull/4762","tags":["issue-tracking","patch"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.3,"vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4.3,"vectorString":"AV:L/AC:L/Au:S/C:P/I:P/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"Heap-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-03-01T12:31:08.574Z"},"timeline":[{"time":"2025-02-28T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-02-28T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-02-28T18:11:22.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"wenjusun (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-03T20:37:17.465931Z","id":"CVE-2025-1788","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-03T20:37:29.635Z"}}]}}}