CVE-2025-13120 - CVE House
Back to Database
Status published Medium CVE-2025-13120

mruby array.c sort_cmp use after free

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-13120

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • tjbecker (VulDB User)

Affected Vendor

Affected Software

mruby
Vulnerable Versions:
3.0, 3.1, 3.2, 3.3, 3.4.0

Timeline

Official Publish: November 13th, 2025
Last Modified: March 4th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

Weaknesses (CWE)