CVE-2026-81883

radare2: Out-of-bounds Read at the end of string in the LUA 5.3 bytecode

Published Sep 22, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Lua 5.3 bytecode function parser was vulnerable because the Lua 5.3 bytecode function parser read fixed function-metadata fields immediately after a function-name string without checking the remaining buffer length. The vulnerability is triggered by opening or inspecting a crafted Lua 5.3 bytecode file whose function-name string ends at the input-buffer boundary. The parser read two integers and three one-byte fields beyond the allocated input buffer. This can cause invalid parser results or process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.

Analysis

AI-generated

Technical impact

radare2 is a Unix‑like reverse engineering framework that includes a Lua 5.3 bytecode parser. Prior to version 6.2.0 the parser reads fixed function‑metadata fields immediately after a function‑name string without validating that the remaining buffer length is sufficient. When a crafted Lua bytecode file has a function‑name string ending at the input‑buffer boundary, the parser reads two integers and three one‑byte fields beyond the allocated buffer. This out‑of‑bounds read can produce invalid parsing results or cause the process to terminate; no memory disclosure has been demonstrated.

Affected Systems

The issue affects radare2 versions older than 6.2.0. Any installation that processes Lua 5.3 bytecode files, such as standard use of radare2 or custom scripts that invoke the bytecode parser, is susceptible. The vulnerability is vendor‑specific to radareorg’s radare2 product.

Risk and Exploitability

The CVSS score of 3.3 indicates a low‑to‑moderate severity. Exploitation requires an attacker to supply a crafted Lua 5.3 bytecode file and trigger the parser, typically by opening or inspecting the file. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting limited threat of active exploitation. Nonetheless the boost crash risk makes it a candidate for a denial‑of‑service attack if an attacker can influence file selection or input. Monitoring logs for unexpected terminations and applying the vendor fix are prudent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update radare2 to version 6.2.0 or later
  • If upgrade is delayed, disable or restrict Lua bytecode parsing in radare2 and restrict file sources that supply Lua bytecode
  • Apply input validation or sandboxing around Lua bytecode processing to ensure buffer boundaries are respected

Generated by OpenCVE AI on September 22, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Radare
Radare radare2
CPEs cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*
Vendors & Products Radare
Radare radare2
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Radareorg
Radareorg radare2
Vendors & Products Radareorg
Radareorg radare2
Type Values Removed Values Added
Description radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Lua 5.3 bytecode function parser was vulnerable because the Lua 5.3 bytecode function parser read fixed function-metadata fields immediately after a function-name string without checking the remaining buffer length. The vulnerability is triggered by opening or inspecting a crafted Lua 5.3 bytecode file whose function-name string ends at the input-buffer boundary. The parser read two integers and three one-byte fields beyond the allocated input buffer. This can cause invalid parser results or process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.
Title radare2: Out-of-bounds Read at the end of string in the LUA 5.3 bytecode
Weaknesses CWE-125
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 22, 2026, 4:11 PM
Reserved
Aug 27, 2026, 5:48 PM
Status
Analyzed
Published
Sep 22, 2026, 4:18 PM
Modified
Sep 28, 2026, 1:21 PM