CVE-2025-12875
JSON

4.8medium

mruby array.c ary_fill_exec out-of-bounds write

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB

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.

Affected

Product or packageVersionsReported by
mruby3.4.0CVE List
mruby mruby3.4.0NVD

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-119CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se ha identificado una vulnerabilidad en mruby 3.4.0. Esta vulnerabilidad afecta a la función ary_fill_exec del archivo mrbgems/mruby-array-ext/src/array.c. La ejecución de una manipulación del argumento start/length puede llevar a una escritura fuera de límites. El ataque debe lanzarse localmente. El exploit se ha puesto a disposición del público y podría usarse para ataques. Este parche se denomina 93619f06dd378db6766666b30c08978311c7ec94. Es una buena práctica aplicar un parche para resolver este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12875 changed 2026-02-24CVE Terms of Use
NVDCVE-2025-12875 changed 2026-10-19Public domain