rizinorg rizin utf8.c rz_utf8_encode heap-based overflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-1788
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:34 UTC · Revision 1
Source evidence
rizinorg rizin utf8.c rz_utf8_encode heap-based overflow
core-osv · Original sourcePublished 1 Mar 2025, 12:31 UTC
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.
osv:CVE-2025-1788
Complete source record
{
"id": "c96124eef626c5baa94bfb75bcbb460f7104d433004c7481c03e747d400c0f23",
"url": "https://osv.dev/vulnerability/CVE-2025-1788",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "rizinorg rizin utf8.c rz_utf8_encode heap-based overflow",
"summary": "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.",
"evidence": "osv:CVE-2025-1788",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-1788",
"aliases": [
"CVE-2025-1788"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rizinorg/rizin",
"type": "GIT",
"events": [
{
"introduced": "74ca7ff0d1a95d3604b1900311e18741af097ec4"
},
{
"last_affected": "1b6f736c65b9fb8b7ce8a05706edab0f4148985c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.1"
},
{
"last_affected": "0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2"
},
{
"last_affected": "0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.3"
},
{
"last_affected": "0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.4"
},
{
"last_affected": "0.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.5"
},
{
"last_affected": "0.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.6"
},
{
"last_affected": "0.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.7"
},
{
"last_affected": "0.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.8"
},
{
"last_affected": "0.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.8.0"
}
],
"source": "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"
}
}
],
"modified": "2026-10-28T02:30:40.359270663Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1788.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-1788",
"https://vuldb.com/?id.298011",
"https://vuldb.com/?submit.502345",
"https://github.com/rizinorg/rizin/issues/4910",
"https://github.com/rizinorg/rizin/issues/4910#issuecomment-2662963253",
"https://vuldb.com/?ctiid.298011",
"https://github.com/rizinorg/rizin/pull/4762",
"https://github.com/user-attachments/files/18817099/rz-bin-poc-01.zip"
],
"provider_metadata": {
"cwe_ids": [
"CWE-119",
"CWE-122"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1788.json"
}
},
"related_cves": [
{
"value": "CVE-2025-1788",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508024,
"published_at": "2025-03-01T12:31:08.574+00:00"
}