Skip to main content

rz-libdemangle EUVDEUVD-2026-44968

| CVE-2026-45612 MEDIUM
Out-of-bounds Read (CWE-125)
2026-07-16 GitHub_M
5.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Rust binary with malformed v0-mangled symbols
  2. Delivery
    Deliver binary to analyst via phishing or adversarial sample
  3. Exploit
    Analyst opens binary in Rizin
  4. Execution
    Rust v0 demangler invoked with uninitialized structure
  5. Persist
    Out-of-bounds read leaks process heap or stack memory
  6. Impact
    Attacker recovers disclosed memory from output or side-channel

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a user to actively open or process a crafted binary containing malformed Rust symbols using Rizin or any application that links rz-libdemangle - the CVSS UI:R metric confirms this mandatory user interaction. The attack vector is local (AV:L): the attacker cannot trigger this remotely; the malicious binary must be delivered to and opened by the victim. No authentication or elevated privileges are required (PR:N) to run the demangling code path - any unprivileged user running Rizin on the file is vulnerable. No non-default configuration is required; the Rust v0 demangler is part of the standard code path. Exploitation is bounded by the absence of scope change (S:U) and limited to confidentiality impact (C:H) - no write capability or persistent availability disruption is expected from this class of OOB read.

Impact

The CVSS 3.1 score of 5.5 Medium (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) accurately reflects the constrained threat model: exploitation requires local execution of Rizin against a malicious file, with mandatory user interaction, but no privileges and low complexity once the analyst opens the file. The high confidentiality impact is justified because an OOB read against uninitialized pointer data can expose arbitrary heap or stack memory from the analyst's process. No EPSS data was provided, making probabilistic exploitation likelihood unavailable. The vulnerability is absent from the CISA KEV catalog and no POC code is referenced in the advisory, placing it in the lowest exploitation urgency tier. However, the operational context elevates practical risk: Rizin users routinely open untrusted and adversarial binaries as part of their workflow, making the threat model of a weaponized sample targeting analysts realistic, even without mass exploitation. The absence of a tagged patch release (only a commit hash) complicates patch verification via package managers.

Exploit ScenarioDerived

An attacker crafts a Rust binary containing symbol names specifically constructed to invoke the v0 demangling code path before the rust_v0_t structure is initialized, then distributes it via a malware sample repository, phishing payload, or compromised package. When a security researcher opens the binary in Rizin for analysis, the demangler reads beyond valid memory boundaries, potentially disclosing memory contents from the analyst's process. No public exploit code has been identified, but the code path is straightforward to reach through normal binary analysis workflows.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

Out-of-bounds read in rz-libdemangle's Rust v0 demangler leaks process memory when a caller invokes the demangling routine before the internal rust_v0_t structure is properly initialized. All builds of the library prior to commit 6bf56d3 are affected, putting security analysts and reverse engineers who process untrusted Rust binaries through the Rizin framework at risk of memory disclosure. No confirmed active exploitation (not in CISA KEV) and no public exploit code has been identified at time of analysis; the fix is available as an upstream commit but a versioned release is not independently confirmed.

RemediationAI

Upstream fix is available via commit 6bf56d3b32547ae4cb069ccfc2d2b6c7b63a4cb (PR #83: https://github.com/rizinorg/rz-libdemangle/pull/83); a released patched version with a version tag is not independently confirmed from available data, so users should verify their build incorporates this commit or later by checking git history. As a compensating control until a confirmed patched build is obtained, process untrusted or adversarial Rust binaries only within isolated sandboxes such as containers or virtual machines, limiting the blast radius of any memory disclosure to the sandboxed environment rather than the analyst's host. Avoid running Rizin tooling directly on untrusted samples on systems that handle or store sensitive credentials, keys, or proprietary data.

Affected VersionsENISA

rz-libdemangle < 6bf56d32b32547ae4cb069ccfc2d2b6c7b63a4cb

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rz-libdemangle (cpe:2.3:a:rizinorg:rz-libdemangle:*:*:*:*:*:*:*:*) is a C library bundled with the Rizin reverse engineering framework that handles symbol demangling for multiple languages. The vulnerable code resides in src/rust/rust_v0.c, which implements demangling of Rust v0-mangled symbol names. CWE-125 (Out-of-Bounds Read) identifies the root cause: the parsing function dereferences members of the rust_v0_t structure - specifically computing pointer arithmetic using v0->symbol and v0->trail - without first verifying that the v0 pointer and the symbol parameter are non-NULL and valid. The PR #83 diff confirms two distinct corrections: (1) a null-guard if (!v0 || !symbol) { return false; } added at function entry to reject uninitialized inputs, and (2) a pointer arithmetic correction replacing v0->symbol with the local symbol parameter in the symbol_size calculation, preventing a separate but related memory access error.

Know when Rz Libdemangle gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

Local file processing triggers the bug (AV:L); user must open crafted binary (UI:R); OOB read discloses memory (C:H) with no write or confirmed crash path (I:N/A:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 16, 2026 - 18:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche reverse engineering tool used primarily by security researchers
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy