CVE-2025-13120: A vulnerability has been found in mruby up to 3.4.0. This vulnerability affects the function sort_cmp of the file…

CVE-2025-13120 · Severity: medium · CVSS 5.3 · Published 2025-11-13

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.

Technologies: Mruby. Vendors: Mruby.

Quick answers

Is CVE-2025-13120 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-13120 being exploited in the wild.
How severe is CVE-2025-13120?
Medium severity, with a CVSS score of 5.3, published 13 November 2025.
Which products and versions are affected?
Mruby. The advisory does not name versions.
Is there a fix for CVE-2025-13120?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2025-13120?
Check whether you run Mruby. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • Mruby

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.