Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local system access with low privileges
-
DeliveryCraft malicious Java class file with malformed Line Number Table
-
ExploitSubmit file to radare2 for analysis
-
ExecutionTrigger heap overflow in `r_bin_java_inner_classes_attr_calc_size()`
-
ImpactCrash radare2 process (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local system access with at minimum low-level operating system privileges (CVSS PR:L), meaning the attacker must already possess a valid user account or active shell session on the target machine - remote unauthenticated exploitation is not possible given AV:L. The vulnerable code path is only triggered when radare2 is directed to parse a Java class file containing a specifically malformed inner class attribute with a corrupt Line Number Table; opening non-Java binaries or well-formed Java class files does not exercise the vulnerable function. The highest-risk deployment scenario is an automated binary analysis pipeline (e.g., malware triage or CI/CD integration) that processes untrusted Java class files without sandboxing, as it could allow an attacker to submit a crafted file and crash the pipeline service. Interactive analyst use on workstations is limited in impact to a tool crash with no data loss or privilege escalation. Non-default conditions that increase risk: running radare2 in batch mode against attacker-controlled Java archives. |
| Impact | The CVSS 4.0 score of 4.8 (Medium) with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L accurately reflects a constrained threat model: local access and low privileges are prerequisites, and the only confirmed impact is availability loss (crash). No EPSS score was provided in the available data, so exploitation probability cannot be quantitatively compared. The absence of a CISA KEV listing means active widespread exploitation is not confirmed. A public proof-of-concept does exist (referenced via GitHub issue #26043), which lowers the technical barrier and marginally elevates real-world risk above baseline for environments where radare2 processes untrusted Java binaries in an automated pipeline. However, for the predominant use case - interactive analyst workstations - the practical impact of a tool crash is minimal and self-contained. There is no signal of confidentiality or integrity compromise, and the signals are internally consistent: CVSS vector, description, and impact ratings all align. This is a genuine low-to-medium priority issue, not inflated by CVSS theater. |
| Exploit ScenarioDerived | A local attacker with a standard user account on a system where radare2 is installed crafts a Java class file containing a malformed inner class attribute whose Line Number Table encodes an oversized or negative length value. When a security analyst or automated pipeline passes this file to radare2 for analysis, |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Heap-based buffer overflow in radare2's Java binary parser (all versions up to 6.1.6) allows a local, low-privileged attacker to crash the tool by supplying a crafted Java class file with a malformed Line Number Table attribute. The vulnerable function r_bin_java_inner_classes_attr_calc_size() in shlr/java/class.c miscalculates buffer sizes, resulting in a heap write beyond allocated bounds and a denial-of-service outcome. A public proof-of-concept exists via GitHub issue #26043; no active exploitation has been confirmed by CISA KEV, and impact is confined to availability with no confidentiality or integrity effects.
RemediationAI
Apply the upstream patch commit cd62d15a6cbecdc67fd03f3ebdbbbeb741d18f87 directly from the radare2 GitHub repository at https://github.com/radareorg/radare2/commit/cd62d15a6cbecdc67fd03f3ebdbbbeb741d18f87. Users building from source should rebase to a commit at or after this fix. A tagged patched release version is not independently confirmed from available data - monitor the radare2 releases page at https://github.com/radareorg/radare2/ for an official release incorporating this fix. As a compensating control prior to patching, restrict radare2 usage to trusted Java class files only; avoid ingesting untrusted or third-party Java binaries through the tool until the fix is applied. For automated pipelines that invoke radare2 against user-supplied Java class files, disabling or sandboxing that pipeline effectively eliminates the attack surface, with the trade-off of reduced functionality for Java binary analysis workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
radare2 is an open-source, cross-platform reverse engineering framework widely used by security analysts for binary analysis. The vulnerable component is the RBinJava subsystem responsible for parsing Java class file structures, specifically the handling of the Line Number Table attribute within inner class attribute blocks. The function r_bin_java_inner_classes_attr_calc_size() in shlr/java/class.c performs size calculations for this attribute but fails to validate input dimensions adequately before writing to heap memory. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: a heap-allocated buffer is written beyond its allocated boundary, which in this context can corrupt adjacent heap metadata or data structures. The affected scope per CPE is cpe:2.3:a:radareorg:radare2:*:*:*:*:*:*:*:*, covering all versions through 6.1.6. The Java class file format's Line Number Table is a variable-length structure whose size is determined by attacker-controlled fields, making it a natural vector for arithmetic or bounds-checking failures.
Know when Radare2 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Local-only attack via crafted file input requiring low OS privileges; impact is availability-only crash with no confidentiality or integrity effects confirmed.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in radareorg radare2 up to 6.1.6. This issue affects the function r_bin_java_inner_classes_attr_calc_size of the file shlr/java/class.c of the component RBinJava Line Number Table Parser. Performing a manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The patch is named cd62d15a6cbecdc67fd03f3ebdbbbeb741d18f87. To fix this issue, it is recommended to deploy a patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h
An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32_fpu function of libr/arch/p/nds32/nds32-d
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated critical severity (CVSS 9.8), th
OS command injection in radare2-mcp (the Model Context Protocol server that bridges the radare2 reverse-engineering fram
Out-of-bounds Read in GitHub repository radareorg/radare2 prior to 5.7.0. Rated critical severity (CVSS 9.1), this vulne
Out-of-bounds Read in r_bin_ne_get_entrypoints function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated cri
Out-of-bounds read in `r_bin_ne_get_relocs` function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated critic
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated high severity (CVSS 8.8), this v
Command injection in radare2's PDB parser (versions <6.1.4) enables arbitrary command execution when analysts process ma
Command injection in radare2 PDB parser (versions before 6.1.4) enables arbitrary OS command execution when users analyz
In radare 2.0.1, a memory corruption vulnerability exists in store_versioninfo_gnu_verdef() and store_versioninfo_gnu_ve
In radare2 2.0.1, an integer exception (negative number leading to an invalid memory access) exists in store_versioninfo
EUVD-2026-41769
GHSA-5c42-mjgc-pm69
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB