CVE-2026-45612

rz-libdemangle: Out of bound read in rust demangler

Published Jul 16, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
rz-libdemangle is a Rizin library for demangling symbols. Prior to 6bf56d3, the Rust demangler in src/rust/rust_v0.c can perform an out-of-bounds read when the demangler structure is not yet initialized. This issue is fixed in commit 6bf56d3.

Analysis

AI-generated

Technical impact

The CVE describes an out-of-bounds read in the Rust demangler implementation within rz-libdemangle. When the demangler data structure has not been initialized, the demangle routine reads beyond the allocated buffer, exposing sensitive memory contents to the caller. This weakness is classified as CWE‑125 and can lead to unintended data disclosure.

Affected Systems

Any installation of the rizinorg:rz-libdemangle library built before the commit 6bf56d3 (6bf56d32b32547ae4cb069ccfc2d2b6c7b63a4cb) is vulnerable. Versions included in that commit or later contain the fix and are not affected.

Risk and Exploitability

With a CVSS score of 5.5 the vulnerability is of medium severity, while the EPSS score of < 1% and the absence from the CISA KEV catalog suggest a low likelihood of widespread exploitation. The most probable attack vector is a local or within‑process invocation of the demangler on uninitialized data, possibly during automated symbol processing or by a malicious binary that links against rz-libdemangle.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update rz-libdemangle to commit 6bf56d3 (6bf56d32b32547ae4cb069ccfc2d2b6c7b63a4cb) or any newer release and rebuild dependent Rizin components
  • Recompile any applications that include rz-libdemangle after the library update to ensure the patched code is in use
  • If an immediate rebuild is not possible, limit the use of rz-libdemangle in untrusted or externally supplied code contexts until the library can be upgraded

Generated by OpenCVE AI on July 31, 2026 at 01:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rizinorg
Rizinorg rz-libdemangle
Vendors & Products Rizinorg
Rizinorg rz-libdemangle
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description rz-libdemangle is a Rizin library for demangling symbols. Prior to 6bf56d3, the Rust demangler in src/rust/rust_v0.c can perform an out-of-bounds read when the demangler structure is not yet initialized. This issue is fixed in commit 6bf56d3.
Title rz-libdemangle: Out of bound read in rust demangler
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 16, 2026, 6:01 PM
Reserved
May 12, 2026, 8:31 PM
Status
Deferred
Published
Jul 16, 2026, 5:16 PM
Modified
Oct 24, 2026, 8:10 PM