We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-7207

mruby nregs codegen.c scope_new heap-based overflow



Description

EN DE

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.

Reserved 2025-07-07 | Published 2025-07-09 | Updated 2025-07-09 | Assigner VulDB


MEDIUM: 4.8CVSS: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
LOW: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
LOW: 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
1.7AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C

Problem types

Heap-based Buffer Overflow

Memory Corruption

Timeline

2025-07-07:Advisory disclosed
2025-07-07:VulDB entry created
2025-07-07:VulDB entry last update

Credits

JJLeo (VulDB User) reporter

References

vuldb.com/?id.315156 (VDB-315156 | mruby nregs codegen.c scope_new heap-based overflow) vdb-entry technical-description

vuldb.com/?ctiid.315156 (VDB-315156 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.607683 (Submit #607683 | mruby mruby 3.4.0-rc2 (commit dd68681) Heap-based Buffer Overflow) third-party-advisory

github.com/mruby/mruby/issues/6509 issue-tracking

github.com/mruby/mruby/issues/6509 issue-tracking

github.com/user-attachments/files/19619499/mruby_crash.txt exploit

github.com/...ommit/1fdd96104180cc0fb5d3cb086b05ab6458911bb9 patch

cve.org (CVE-2025-7207)

nvd.nist.gov (CVE-2025-7207)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-7207

Support options

Helpdesk Chat, Email, Knowledgebase