CVE-2025-13120
mruby array.c sort_cmp use after free
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: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
Affected products
n/a · mrubyWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://github.com/makesoftwaresafe/mruby/pull/263https://github.com/mruby/mruby/https://github.com/mruby/mruby/commit/eb398971bfb43c38db3e04528b68ac9a7ce509bchttps://github.com/mruby/mruby/issues/6649https://github.com/mruby/mruby/issues/6649#issue-3534393003https://vuldb.com/?ctiid.332325https://vuldb.com/?id.332325https://vuldb.com/?submit.683435