mruby nregs codegen.c scope_new heap-based overflow

CVE Details

Basic Information

Title mruby nregs codegen.c scope_new heap-based overflow
Type cve
Published 2025-07-09T00:02:07.237Z
Modified 2025-07-09T00:02:07.237Z

Product Information

Vendor n/a
Product mruby
Version 3.4.0-rc1

CVSS Information

Base Score 4.8 (MEDIUM)
Attack Vector 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

Affected Products

  • n/a mruby 3.4.0-rc1
  • n/a mruby 3.4.0-rc2

Additional Information

CWE List CWE-122, CWE-119
Source VulDB

Description

A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbgems/mruby-compiler/core/codegen.c of the component nregs Handler. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The name of the patch is 1fdd96104180cc0fb5d3cb086b05ab6458911bb9. It is recommended to apply a patch to fix this issue.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.