Vulnerabilities / CVE-2018-10191

critical

CVE-2018-10191

In versions of mruby up to and including 1.4.0, an integer overflow ex ...

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11mruby1.4.0+20180418+git54905e98-1
debian 12mruby1.4.0+20180418+git54905e98-1
debian 13mruby1.4.0+20180418+git54905e98-1
debian 14mruby1.4.0+20180418+git54905e98-1
debian 8mrubyno fix listed
debian 9mruby1.2.0+20161228+git30d5424a-1+deb9u1
echomruby1.4.0+20180418+git54905e98-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.