#VU118342 Buffer overflow in mruby - CVE-2025-12875

 

#VU118342 Buffer overflow in mruby - CVE-2025-12875

Published: November 12, 2025


Vulnerability identifier: #VU118342
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2025-12875
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vulnerable software:
mruby
Software vendor:
mruby

Description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the "ary_fill_exec" function in the "mrbgems/mruby-array-ext/src/array.c" file. A local user can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.

External links