CVE-2025-12875 mruby array.c ary_fill_exec out-of-bounds write
MediumCVSS 4.8
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 0 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux nghttp2(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner nghttp2(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| debian/mruby(Debian 11) | = 2.1.2-3; = 3.0.0-1; = 3.0.0-2; = 3.0.0-3 +13 more | No fix listed | No fix yet |
| debian/mruby(Debian 12) | = 3.1.0-3; = 3.2.0-1; = 3.2.0-2; = 3.3.0-1 +6 more | No fix listed | No fix yet |
| debian/mruby(Debian 13) | = 3.3.0-1; = 3.4.0-1; = 3.4.0-1~exp1; = 3.4.0-1~exp2 +2 more | No fix listed | No fix yet |
| debian/mruby(Debian 14) | = 3.3.0-1; = 3.4.0-1; = 3.4.0-1~exp1; = 3.4.0-1~exp2 +2 more | No fix listed | No fix yet |
| ubuntu/mruby(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mruby(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mruby(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mruby(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| mruby | = 3.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux nghttp2(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner nghttp2(CBL-Mariner:2.0) | All versions | No fix listed |
| debian/mruby(Debian:11) | All versions | No fix listed |
| debian/mruby(Debian:11) | = 2.1.2-3 | No fix listed |
| debian/mruby(Debian:11) | = 3.0.0-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.0.0-2 | No fix listed |
| debian/mruby(Debian:11) | = 3.0.0-3 | No fix listed |
| debian/mruby(Debian:11) | = 3.0.0-4 | No fix listed |
| debian/mruby(Debian:11) | = 3.1.0-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.1.0-2 | No fix listed |
| debian/mruby(Debian:11) | = 3.1.0-3 | No fix listed |
| debian/mruby(Debian:11) | = 3.2.0-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.2.0-2 | No fix listed |
| debian/mruby(Debian:11) | = 3.3.0-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.3.0~rc2-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.4.0-1 | No fix listed |
| debian/mruby(Debian:11) | = 3.4.0-1~exp1 | No fix listed |
| debian/mruby(Debian:11) | = 3.4.0-1~exp2 | No fix listed |
| debian/mruby(Debian:11) | = 3.4.0-2 | No fix listed |
| debian/mruby(Debian:12) | All versions | No fix listed |
| debian/mruby(Debian:12) | = 3.1.0-3 | No fix listed |
| debian/mruby(Debian:12) | = 3.2.0-1 | No fix listed |
| debian/mruby(Debian:12) | = 3.2.0-2 | No fix listed |
| debian/mruby(Debian:12) | = 3.3.0-1 | No fix listed |
| debian/mruby(Debian:12) | = 3.3.0~rc2-1 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mruby(Debian:12) | = 3.4.0-1 | No fix listed |
| debian/mruby(Debian:12) | = 3.4.0-1~exp1 | No fix listed |
| debian/mruby(Debian:12) | = 3.4.0-1~exp2 | No fix listed |
| debian/mruby(Debian:12) | = 3.4.0-2 | No fix listed |
| debian/mruby(Debian:13) | All versions | No fix listed |
| debian/mruby(Debian:13) | = 3.3.0-1 | No fix listed |
| debian/mruby(Debian:13) | = 3.4.0-1 | No fix listed |
| debian/mruby(Debian:13) | = 3.4.0-1~exp1 | No fix listed |
| debian/mruby(Debian:13) | = 3.4.0-1~exp2 | No fix listed |
| debian/mruby(Debian:13) | = 3.4.0-2 | No fix listed |
| debian/mruby(Debian:14) | All versions | No fix listed |
| debian/mruby(Debian:14) | = 3.3.0-1 | No fix listed |
| debian/mruby(Debian:14) | = 3.4.0-1 | No fix listed |
| debian/mruby(Debian:14) | = 3.4.0-1~exp1 | No fix listed |
| debian/mruby(Debian:14) | = 3.4.0-1~exp2 | No fix listed |
| debian/mruby(Debian:14) | = 3.4.0-2 | No fix listed |
| mruby | = 3.4.0 | No fix listed |
| ubuntu/mruby(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mruby(Ubuntu:26.10) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2025-12875 vendor-advisory
- VDB-331511 | mruby array.c ary_fill_exec out-of-bounds write technical-description third-party-advisory vdb-entry
- VDB-331511 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #680879 | mruby 3.4.0 Out-of-bounds Write third-party-advisory vdb-entry
- github.com exploit issue-tracking patch
- github.com patch
- github.com product
- Ubuntu CVE tracker vendor-advisory
- www.cve.org