CVE-2025-13120
4.8
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
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | mruby | 3.0 | affected |
| n/a | mruby | 3.1 | affected |
| n/a | mruby | 3.2 | affected |
| n/a | mruby | 3.3 | affected |
| n/a | mruby | 3.4.0 | affected |
Weaknesses
- CWE-416: Use After Free
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://vuldb.com/?id.332325
- https://vuldb.com/?ctiid.332325
- https://vuldb.com/?submit.683435
- https://github.com/mruby/mruby/issues/6649
- https://github.com/makesoftwaresafe/mruby/pull/263
- https://github.com/mruby/mruby/issues/6649#issue-3534393003
- https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bc
- https://github.com/mruby/mruby/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.