CVE-2025-7207
mediumpriority · track · 22EPSS 0.003 · 18 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.1–5.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://github.com/mruby/mruby/tagsPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-7207cnnvd
- https://github.com/mruby/mruby/commit/1fdd96104180cc0fb5d3cb086b05ab6458911bb9enisa_euvd
- https://github.com/mruby/mruby/issues/6509enisa_euvd
- https://github.com/mruby/mruby/issues/6509#event-17145516649enisa_euvd
- https://github.com/user-attachments/files/19619499/mruby_crash.txtenisa_euvd
- https://vuldb.com/?ctiid.315156enisa_euvd
- https://vuldb.com/?id.315156enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan