Vulnerabilities · 2025 · Mruby
CVE-2025-13120
Mruby vulnerability
A vulnerability has been found in mruby up to 3.4.0. This vulnerability affects the function sort_cmp of the file src/array.c. Such manipulation leads to use after free. 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 eb398971bfb43c38db3e04528b68ac9a7ce509bc. It is advisable to implement a patch to correct this issue.
Affected products
Mruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mruby/mruby/issues/6649 · Vendor Advisory
- github.com/mruby/mruby/issues/6649#issue-3534393003 · Vendor Advisory
- github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc · Patch
- vuldb.com/?id.332325 · Third Party Advisory
- vuldb.com/?submit.683435 · Third Party Advisory
- github.com/makesoftwaresafe/mruby/pull/263
- vuldb.com/?ctiid.332325
- github.com/mruby/mruby/
- nvd.nist.gov/vuln/detail/CVE-2025-13120
- cve.org/CVERecord?id=CVE-2025-13120
More vulnerabilities in Mruby products
CVE-2025-12875CVE-2025-7207CVE-2022-1934CVE-2022-1427CVE-2022-1286CVE-2022-1276CVE-2022-1212CVE-2022-1201All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.