VDB
CVE-2025-7207
CVE-2025-7207
PUBLISHED
CVSS 4.800000190734863 MEDIUM
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.
EPSS 0.22% · 12.4th percentile
Risk Scores
CVSS 4.0
4.800000190734863
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
EPSS Score
0.22%
12.4th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| mruby | mruby | 0, 3.4.0, 3.4.0 |
| n/a | mruby | 3.4.0-rc1, 3.4.0-rc2 |
Timeline
- Jul 9, 2025 CVE Published
- Jul 9, 2025 EPSS Score
- Jul 9, 2025 CVE Updated
- Jul 19, 2025 EPSS Score
- Jul 28, 2025 EPSS Score
- Aug 7, 2025 EPSS Score
- Aug 16, 2025 EPSS Score
- Aug 26, 2025 EPSS Score
- Sep 4, 2025 EPSS Score
- Sep 14, 2025 EPSS Score
- Sep 23, 2025 EPSS Score
- Oct 3, 2025 EPSS Score
References
- VDB-315156 | mruby nregs codegen.c scope_new heap-based overflow vdb
- VDB-315156 | CTI Indicators (IOB, IOC, IOA) url
- Submit #607683 | mruby mruby 3.4.0-rc2 (commit dd68681) Heap-based Buffer Overflow third-party-advisory
- https://github.com/mruby/mruby/issues/6509#event-17145516649 issue
- https://github.com/user-attachments/files/19619499/mruby_crash.txt exploit
- https://github.com/mruby/mruby/commit/1fdd96104180cc0fb5d3cb086b05ab6458911bb9 patch
- https://github.com/mruby/mruby/issues/6509 exploit
- https://nvd.nist.gov/vuln/detail/CVE-2025-7207 advisory