CVE-2020-15866

Source
https://cve.org/CVERecord?id=CVE-2020-15866
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15866.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15866
Downstream
Published
2020-07-21T15:15:14.537Z
Modified
2026-07-08T05:55:46.035239315Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

mruby through 2.1.2-rc has a heap-based buffer overflow in the mrbyieldwithclass function in vm.c because of incorrect VM stack handling. It can be triggered via the stackcopy function.

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "extracted_events": [
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mruby/mruby

Affected ranges

Type
GIT
Repo
https://github.com/mruby/mruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Database specific
{
    "cpe": [
        "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:mruby:mruby:2.1.2:rc:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.1.1"
        },
        {
            "introduced": "2.1.2-rc"
        },
        {
            "last_affected": "2.1.2-rc"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.2.0
2.*
2.1.1
2.1.1-rc
2.1.1-rc2
2.1.2-rc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15866.json"