CVE-2025-13120
mediumpriority · track · 22EPSS 0.002 · 5 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.1–5.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-13120cnnvd
- https://github.com/makesoftwaresafe/mruby/pull/263cnnvd
- https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bccnnvd
- https://github.com/mruby/mruby/issues/6649cnnvd
- https://github.com/mruby/mruby/issues/6649#issue-3534393003cnnvd
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-13120cnnvd
- https://vuldb.com/?ctiid.332325cnnvd
- https://vuldb.com/?id.332325cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan