VDB
CVE-2025-7207
CVE-2025-7207
PUBLISHED
CVSS 3.299999952316284 LOW
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.26% · 17.5th percentile
Risk Scores
CVSS 3.1
3.299999952316284
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Score
0.26%
17.5th 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 29, 2025 EPSS Score
- Aug 8, 2025 EPSS Score
- Aug 18, 2025 EPSS Score
- Aug 29, 2025 EPSS Score
- Sep 8, 2025 EPSS Score
- Sep 18, 2025 EPSS Score
- Sep 28, 2025 EPSS Score
- Oct 8, 2025 EPSS Score
References
- https://github.com/mruby/mruby/issues/6509#event-17145516649 discussion
- 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/commit/1fdd96104180cc0fb5d3cb086b05ab6458911bb9 fix
- https://github.com/user-attachments/files/19619499/mruby_crash.txt exploit
- https://nvd.nist.gov/vuln/detail/CVE-2025-7207 advisory
- https://github.com/mruby/mruby/issues/6509 discussion