CVE-2025-13120

LOW EPSS 2.7%
Published Nov 13, 20257mo ago · Modified Jun 17, 20262w ago
1.9 CVSS 4.0
Low
Find Similar
Published Nov 13, 2025 7mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
1.9
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
2.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
CWE-416 Use After Free Memory Safety

Affected Products 1

VendorProductVersionRange
mrubymruby* ≤3.4.0

References 8

  • github.com https://github.com/makesoftwaresafe/mruby/pull/263
    Issue Tracking
  • github.com https://github.com/mruby/mruby/
  • github.com https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc
    Patch
  • github.com https://github.com/mruby/mruby/issues/6649
    Issue TrackingVendor Advisory
  • github.com https://github.com/mruby/mruby/issues/6649#issue-3534393003
    Issue TrackingVendor Advisory
  • vuldb.com https://vuldb.com/?ctiid.332325
    Permissions RequiredVDB Entry
  • vuldb.com https://vuldb.com/?id.332325
    Third Party AdvisoryVDB Entry
  • vuldb.com https://vuldb.com/?submit.683435
    Third Party AdvisoryVDB Entry

Remediation

  • github.com https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc
    Patch