Heap-Based Buffer Overflow in mruby Product by mruby Vendor
CVE-2025-7207
4.8MEDIUM
Key Information:
Badges
๐พ Exploit Exists๐ก Public PoC
What is CVE-2025-7207?
A heap-based buffer overflow vulnerability exists in the scope_new function of the mruby compiler's nregs handler, found in the mrbgems/mruby-compiler/core/codegen.c file. This issue can be exploited locally, leading to potentially severe consequences for affected systems. Publicly disclosed, security experts recommend applying the patch identified by commit 1fdd96104180cc0fb5d3cb086b05ab6458911bb9 to mitigate risks associated with this vulnerability.
Affected Version(s)
mruby 3.4.0-rc1
mruby 3.4.0-rc2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
