Use After Free Vulnerability in mruby by mruby
CVE-2025-13120
Key Information:
Badges
What is CVE-2025-13120?
A use after free vulnerability has been identified in mruby versions up to 3.4.0, specifically impacting the sort_cmp function in the src/array.c file. This flaw allows an attacker with local access to exploit the vulnerability potentially leading to unauthorized memory manipulation. Public disclosures regarding this issue have emerged, emphasizing the necessity for users to apply the patch identified by commit eb398971bfb43c38db3e04528b68ac9a7ce509bc to mitigate the risks associated with this vulnerability.
Affected Version(s)
mruby 3.0
mruby 3.1
mruby 3.2
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.
References
CVSS V4
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved
