CVE-2026-14759
Received Received - Intake

Heap-based Buffer Overflow in radare2

Vulnerability report for CVE-2026-14759, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-05

Last updated on: 2026-07-05

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-05
Last Modified
2026-07-05
Generated
2026-07-05
AI Q&A
2026-07-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
radareorg radare2 to 6.1.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-14759 is a heap-based buffer overflow vulnerability in the radareorg radare2 tool, specifically in the Java class parser component. The flaw occurs in the function that parses the Java line number table attribute, where it reads beyond the allocated buffer size due to insufficient validation of the buffer length before accessing it. This out-of-bounds read can lead to memory corruption or crashes when processing malformed Java class files.

The vulnerability arises because the parser attempts to read bytes beyond the buffer's valid range (reading bytes 6 and 7 from a 6-byte buffer), which is not properly checked. This issue requires local access to exploit and has a public proof-of-concept available.

Impact Analysis

This vulnerability can lead to heap-based buffer overflow, which may cause memory corruption or crashes in the radare2 tool when it processes specially crafted malformed Java class files.

An attacker with local access could exploit this flaw to potentially disrupt the normal operation of the software, leading to denial of service or other unpredictable behavior. However, the impact is limited by the requirement for local access and the relatively low severity scores.

Detection Guidance

This vulnerability involves a heap-based buffer overflow in the radare2 tool's Java class parser when processing malformed Java class files. Detection involves identifying attempts to parse such malformed files or monitoring for crashes or memory corruption related to the r_bin_java_line_number_table_attr_new function.

A proof-of-concept test case named line_number_table_oob_harness.c exists to demonstrate the issue, which can be used to verify if a system is vulnerable.

Since the issue is triggered by processing malformed Java class files, you can detect exploitation attempts by monitoring radare2 usage on suspicious or malformed Java class files.

No specific commands are provided in the resources, but you may consider running radare2 on suspect Java class files and monitoring for crashes or abnormal behavior.

Mitigation Strategies

The recommended immediate mitigation is to deploy the patch identified by commit cd62d15a6cbecdc67fd03f3ebdbbbeb741d18f87.

This patch fixes the vulnerability by improving buffer size validation in the r_bin_java_line_number_table_attr_new function, preventing out-of-bounds reads.

Until the patch is applied, avoid processing untrusted or malformed Java class files with radare2 to reduce the risk of exploitation.

Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-14759. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart