CVE Catalog

CVE-2025-13120

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In mruby up to 3.4.0, the sort_cmp function in src/array.c contains a use-after-free vulnerability that can be exploited locally. The exploit has been publicly disclosed.

Risk Assessment

A local attacker could exploit this to execute unauthorized code or cause a denial of service, potentially impacting confidentiality, integrity, and availability.

Recommendation

Apply patch eb398971bfb43c38db3e04528b68ac9a7ce509bc or update mruby to a version containing the fix.

Other vulnerabilities in mruby

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS