CVE-2025-13120

MEDIUM CVSS 4.0: 1.9 EPSS 0.16%
Updated Oct 19, 2026
Mruby
Parameter Value
CVSS 1.9 (MEDIUM)
Affected Versions before 3.4.0
Type CWE-119 (Buffer Overflow), CWE-416 (Use After Free)
Vendor Mruby
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Mruby Mruby
cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:*
— <= 3.4.0

Related Vulnerabilities