CVE catalog

CVE-2025-13120

mruby: CVE-2025-13120

[CVE catalog]

Severity
Low · CVSS 1.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debianmrubysid4.0.0-1fixed
Debianmrubyforky4.0.0-1fixed
Debianmrubytrixie3.3.0-1vulnerable
Debianmrubybookworm3.1.0-3vulnerable
CpemrubyNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmrubysourcesid4.0.0-1not yet assignedNot reported[1120796]
Debianmrubysourceforky4.0.0-1not yet assignedNot reported[1120796]
Debianmrubysourcetrixie(unfixed)not yet assignedNot reported[1120796]
Debianmrubysourcebookworm(unfixed)not yet assignedNot reported[1120796]

[Debian bug #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 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

  • [mruby]Affected
    Details (2)
    • 3.1.0-3 · amd64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

[Debian 13 (Trixie)]

  • [libmruby-dev]Affected

    Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Affected

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Affected

      dsa · mruby · debian · 13

  • [mruby]Affected

    Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Affected

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Affected

      dsa · mruby · debian · 13

Observed:

References