CVE-2025-7207
published medium CVSS 4.0 · 4.8mruby nregs codegen.c scope_new heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | mruby3.4.0-rc1 · 3.4.0-rc2 | Affected | Not stated | VulDB |
| SUSE / openSUSE | openSUSE-Tumbleweed | mrubyaarch64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mrubyppc64le | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mrubys390x | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mrubyx86_64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby3_4_0aarch64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby3_4_0ppc64le | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby3_4_0s390x | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby3_4_0x86_64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby_core3_4_0aarch64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby_core3_4_0ppc64le | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby_core3_4_0s390x | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmruby_core3_4_0x86_64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mruby-develaarch64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mruby-develppc64le | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mruby-devels390x | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mruby-develx86_64 | Advisory build | 3.4.0-1.1 | OPENSUSE-SU-2025:15333-1 |
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.
Es wurde eine Schwachstelle in mruby bis 3.4.0-rc2 gefunden. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion scope_new der Datei mrbgems/mruby-compiler/core/codegen.c der Komponente nregs Handler. Mittels Manipulieren mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung. Der Patch wird als 1fdd96104180cc0fb5d3cb086b05ab6458911bb9 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 3.3 | low | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | mruby | 3.4.0-rc1 (affected)3.4.0-rc2 (affected) | VulDB · cna |
Weaknesses
2- CWE-122 Heap-based Buffer Overflow
- CWE-119 Memory Corruption
References
7- https://github.com/mruby/mruby/commit/1fdd96104180cc0fb5d3cb086b05ab6458911bb9
- https://github.com/mruby/mruby/issues/6509
- https://github.com/mruby/mruby/issues/6509#event-17145516649
- https://github.com/user-attachments/files/19619499/mruby_crash.txt
- VDB-315156 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.315156
- VDB-315156 | mruby nregs codegen.c scope_new heap-based overflow https://vuldb.com/?id.315156
- Submit #607683 | mruby mruby 3.4.0-rc2 (commit dd68681) Heap-based Buffer Overflow https://vuldb.com/?submit.607683
Provider assertions
2VulDB · cna
mruby nregs codegen.c scope_new heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eea35b5bdb3c12a439b6b497ece7057b657cdab14dc80a1ea19df44aa3cef7f8
- Ingested
- 23 Sep 2026, 08:58:27 UTC
- Source record
- Official CVE record