Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-12875 EUVD-2025-38294GHSA-q269-xqww-45mm

mruby array.c ary_fill_exec out-of-bounds write

Published Nov 7, 2025 · Updated Feb 24, 2026 · 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 products

VendorProductAffectedFixed
— mruby 3.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 mruby No fix yet —
Ubuntu 26.04 LTS mruby No fix yet —
Ubuntu 25.10 mruby No fix yet —
Ubuntu 24.04 LTS mruby No fix yet —
Ubuntu 22.04 LTS mruby No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mruby No fix yet —
Ubuntu 18.04 LTS mruby No fix yet —
Ubuntu 16.04 LTS mruby No fix yet —

Advisories 1

References