CVE-2025-12875Improper Restriction of Operations within the Bounds of a Memory Buffer in Mruby

Severity
4.8MEDIUMNVD
EPSS
0.0%
top 95.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 7
Latest updateNov 11

Description

A weakness has been identified in mruby 3.4.0. This vulnerability affects the function ary_fill_exec of the file mrbgems/mruby-array-ext/src/array.c. Executing a manipulation of the argument start/length can lead to out-of-bounds write. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. This patch is called 93619f06dd378db6766666b30c08978311c7ec94. It is best practice to apply a patch to resolve this issue.

CVSS vector

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

Patches

🔴Vulnerability Details

3
OSV
CVE-2025-12875: A weakness has been identified in mruby 32025-11-07
OSV
CVE-2025-12875: A weakness has been identified in mruby 32025-11-07
GHSA
GHSA-q269-xqww-45mm: A weakness has been identified in mruby 32025-11-07

📋Vendor Advisories

2
Microsoft
mruby array.c ary_fill_exec out-of-bounds write2025-11-11
Debian
CVE-2025-12875: mruby - A weakness has been identified in mruby 3.4.0. This vulnerability affects the fu...2025