Buffer overflow in Mruby

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-b…

Vulnerability class: Buffer Overflow

EPSS: 0.002 (11.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.

Affected products

  • Mruby — versions 3.4.0
  • N/a Mruby — versions 3.4.0-rc1, 3.4.0-rc2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-7207?
CVE-2025-7207 is a low-severity vulnerability in Mruby, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-07-09.
How severe is CVE-2025-7207?
Low severity. CVSS v3 base score is 3.3 out of 10.
Is CVE-2025-7207 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.