CVE-2025-13120

mruby array.c sort_cmp use after free

MEDIUM
5.5
CVSS Score
Published: November 13, 2025 at 03:32 PM UTC
Updated: October 19, 2026 at 01:10 PM UTC
1 product affected across 1 vendorMruby

Using mruby by N/A?

Get instant alerts when new vulnerabilities affect mruby - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (8)

VDB EntryTechnical DescriptionThird Party Advisory
Source: cverecord
https://vuldb.com/?id.332325
SignaturePermissions RequiredVDB Entry
Source: cverecord
https://vuldb.com/?ctiid.332325
Third Party AdvisoryVDB Entry
Source: cverecord
https://vuldb.com/?submit.683435
Issue TrackingVendor Advisory
Source: cverecord
https://github.com/mruby/mruby/issues/6649
ExploitIssue TrackingVendor Advisory
Source: cverecord
https://github.com/mruby/mruby/issues/6649#issue-3534393003
Product
Source: cverecord
https://github.com/mruby/mruby/

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card