
CVE catalog
CVE-2025-13120
mruby: CVE-2025-13120
- Severity
- Low · CVSS 1.9
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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
A vulnerability has been found in mruby up to 3.4.0. This vulnerability affects the function sort_cmp of the file src/array.c. Such manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The name of the patch is eb398971bfb43c38db3e04528b68ac9a7ce509bc. It is advisable to implement a patch to correct this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mruby | sid | 4.0.0-1 | fixed |
| Debian | mruby | forky | 4.0.0-1 | fixed |
| Debian | mruby | trixie | 3.3.0-1 | vulnerable |
| Debian | mruby | bookworm | 3.1.0-3 | vulnerable |
| Cpe | mruby | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mruby | source | sid | 4.0.0-1 | not yet assigned | Not reported | [1120796] |
| Debian | mruby | source | forky | 4.0.0-1 | not yet assigned | Not reported | [1120796] |
| Debian | mruby | source | trixie | (unfixed) | not yet assigned | Not reported | [1120796] |
| Debian | mruby | source | bookworm | (unfixed) | not yet assigned | Not reported | [1120796] |
Notes
[trixie] mruby: Minor issue [bookworm] mruby: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmruby-dev]Affected
Source package: [mruby]
Details (2)
3.1.0-3· amd64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
- [mruby]Affected
Details (2)
3.1.0-3· amd64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
[Debian 13 (Trixie)]
- [libmruby-dev]Affected
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieAffected
dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieAffected
dsa · mruby · debian · 13
- [mruby]Affected
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieAffected
dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieAffected
dsa · mruby · debian · 13
Observed: