Read the docs
TI-2025-11993 Aliases CVE-2025-13120GHSA-j383-q79v-268x

mruby array.c sort_cmp use after free

Priority LOW 21CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00158 4th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mruby3.0; 3.1; 3.2; 3.3; 3.4.0—No fix listedCNA
  • mruby Vendor— Affected 3.0; 3.1; 3.2; 3.3; 3.4.0 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:*up to 3.4.0Vulnerablemruby
  • cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:* Versions up to 3.4.0 Vulnerable ·mruby

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-13120
  2. 2026-10-03 Alias added: GHSA-j383-q79v-268x

References

  • TI-2022-00033 Heap-based Buffer Overflow in mruby/mruby CVSS 3.1CRITICAL 9.8
  • TI-2026-01636 mruby JMPNOT-to-JMPIF Optimization vm.c mrb_vm_exec use after free CVSS 4.0MEDIUM 4.8
  • TI-2025-11794 mruby array.c ary_fill_exec out-of-bounds write CVSS 4.0MEDIUM 4.8
  • TI-2025-06567 mruby nregs codegen.c scope_new heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2018-07224 In versions of mruby up to and including 1.4.0, an integer overflow exists in… CVSS 3.1CRITICAL 9.8
  • TI-2022-01100 Use-After-Free in str_escape in mruby/mruby in mruby/mruby CVSS 3.1CRITICAL 9.8
See all 41 →

Sources