CVE-2025-7207

LOW
Published Jul 9, 2025 Modified Apr 29, 2026 CWE-119 CWE-122 CWE-787

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.

CVSS v3.1 Score

3.3
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Weakness Type (CWE)

CWE-119 Buffer Overflow
CWE-122 CWE-122
CWE-787 Out-of-bounds Write

Affected Products

Vendor Product
mruby mruby
mruby mruby
mruby mruby

References

Frequently Asked Questions

What is CVE-2025-7207? +
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. It has a CVSS v3.1 base score of 3.3 (LOW).
How severe is CVE-2025-7207? +
CVE-2025-7207 has a CVSS v3.1 score of 3.3 out of 10, rated LOW. This is a low-severity vulnerability with limited impact.
What products are affected by CVE-2025-7207? +
CVE-2025-7207 affects products from mruby, specifically: mruby. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-7207? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-7207 — free, no signup required.

Start Free Scan