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.
References
| Link | Resource |
|---|---|
| https://github.com/makesoftwaresafe/mruby/pull/263 | Issue Tracking |
| https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc | Patch |
| https://github.com/mruby/mruby/issues/6649 | Issue Tracking Vendor Advisory |
| https://github.com/mruby/mruby/issues/6649#issue-3534393003 | Issue Tracking Vendor Advisory |
| https://vuldb.com/?ctiid.332325 | Permissions Required VDB Entry |
| https://vuldb.com/?id.332325 | Third Party Advisory VDB Entry |
| https://vuldb.com/?submit.683435 | Third Party Advisory VDB Entry |
Configurations
History
04 Dec 2025, 15:27
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:* | |
| First Time |
Mruby mruby
Mruby |
|
| References | () https://github.com/makesoftwaresafe/mruby/pull/263 - Issue Tracking | |
| References | () https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc - Patch | |
| References | () https://github.com/mruby/mruby/issues/6649 - Issue Tracking, Vendor Advisory | |
| References | () https://github.com/mruby/mruby/issues/6649#issue-3534393003 - Issue Tracking, Vendor Advisory | |
| References | () https://vuldb.com/?ctiid.332325 - Permissions Required, VDB Entry | |
| References | () https://vuldb.com/?id.332325 - Third Party Advisory, VDB Entry | |
| References | () https://vuldb.com/?submit.683435 - Third Party Advisory, VDB Entry |
13 Nov 2025, 16:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-11-13 16:15
Updated : 2025-12-04 15:27
NVD link : CVE-2025-13120
Mitre link : CVE-2025-13120
CVE.ORG link : CVE-2025-13120
JSON object : View
Products Affected
mruby
- mruby
