Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mruby | Mruby | <= 3.4.0 |
Related Weaknesses (CWE)
References
- https://github.com/makesoftwaresafe/mruby/pull/263Issue Tracking
- https://github.com/mruby/mruby/
- https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bcPatch
- https://github.com/mruby/mruby/issues/6649Issue TrackingVendor Advisory
- https://github.com/mruby/mruby/issues/6649#issue-3534393003Issue TrackingVendor Advisory
- https://vuldb.com/?ctiid.332325Permissions RequiredVDB Entry
- https://vuldb.com/?id.332325Third Party AdvisoryVDB Entry
- https://vuldb.com/?submit.683435Third Party AdvisoryVDB Entry
FAQ
What is CVE-2025-13120?
CVE-2025-13120 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2025-13120?
CVE-2025-13120 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-13120?
Check the references section above for vendor advisories and patch information. Affected products include: Mruby Mruby.