CVE-2025-13120

published 13 Nov 2025 · updated 4 Mar 2026

mruby array.c sort_cmp use after free

6.3MediumCVSS 5.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=3.0, =3.1, =3.2, =3.3, =3.4.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-13120 severity on Zeptric[![CVE-2025-13120](https://zeptric.io/badge/cve/CVE-2025-13120.svg)](https://zeptric.io/cve/CVE-2025-13120)