CVE catalog

CVE-2018-10191

mruby: CVE-2018-10191

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.59% · Oct 25, 2026

In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrb_vm_exec() when handling OP_GETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute arbitrary code.

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-1fixed
Debianmrubybookworm3.1.0-3fixed
Ubuntumruby16.041.1.0+20150817+gita1731254-1vulnerable
Ubuntumruby16.041.1.0+20150906+git1cbbb7e1-1vulnerable
Ubuntumruby16.041.2.0+20160315+git4f20d58a-1vulnerable
Ubuntumruby18.041.3.0-1vulnerable
Ubuntumruby18.041.3.0+20170925+git38185028-1vulnerable
Ubuntumruby18.041.3.0+20171029+git77edafb0-1vulnerable
Ubuntumruby18.041.4.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmrubysourcesid1.4.0+20180418+git54905e98-1not yet assignedNot reported[896020]
Debianmrubysourceforky1.4.0+20180418+git54905e98-1not yet assignedNot reported[896020]
Debianmrubysourcetrixie1.4.0+20180418+git54905e98-1not yet assignedNot reported[896020]
Debianmrubysourcebookworm1.4.0+20180418+git54905e98-1not yet assignedNot reported[896020]

[Debian bug #896020]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [mruby]

    Details (2)
    • 3.1.0-3 · amd64 · bookworm

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

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

    • 3.1.0-3 · arm64 · bookworm

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

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

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

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

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

    • 3.1.0-3 · arm64 · bookworm

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

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

[Debian 13 (Trixie)]

  • Source package: [mruby]

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

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

      dsa · mruby · debian · 13

  • [mruby]Fixed

    Source package: [mruby]

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

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Fixed · Fixed: 1.4.0+20180418+git54905e98-1

      dsa · mruby · debian · 13

Observed:

References