CVE-2025-7207

LOW

Mruby < 3.4.0 - Out-of-Bounds Write

Title source: rule
STIX 2.1

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.

References (7)

Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.315156
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.315156
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.607683
Exploit, Issue Tracking issue-tracking
https://github.com/mruby/mruby/issues/6509
Exploit, Issue Tracking issue-tracking
https://github.com/mruby/mruby/issues/6509#event-17145516649

Scores

CVSS v3 3.3
EPSS 0.0004
EPSS Percentile 12.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-119 CWE-122 CWE-787
Status published
Products (2)
mruby/mruby 3.4.0 rc (2 CPE variants)
mruby/mruby < 3.4.0
Published Jul 09, 2025
Tracked Since Feb 18, 2026