Critical
Security advisory
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15866
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:53 UTC · Revision 1
Source evidence
mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.
osv:CVE-2020-15866
Complete source record
{
"id": "112e8c63e4928ab1f11e1aa78ef7f0e7615b2fbc5b04b95d0cd467b1eddf1054",
"url": "https://osv.dev/vulnerability/CVE-2020-15866",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15866",
"summary": "mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class function in vm.c because of incorrect VM stack handling. It can be triggered via the stack_copy function.",
"evidence": "osv:CVE-2020-15866",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15866",
"aliases": [
"CVE-2020-15866"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mruby/mruby",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "f9d113f7647121f8578742a2a9ac256ece365e3f"
},
{
"introduced": "b6b9c57f247a26fb5dbea129cd81fcc9b7d485a3"
},
{
"last_affected": "b6b9c57f247a26fb5dbea129cd81fcc9b7d485a3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mruby:mruby:2.1.2:rc:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.2-rc"
},
{
"last_affected": "2.1.2-rc"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.1.2-rc",
"2.1.1",
"2.1.1-rc2",
"2.1.1-rc",
"1.2.0",
"1.1.0",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15866.json"
}
}
],
"modified": "2026-10-20T10:51:56.492957197Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html",
"https://github.com/mruby/mruby/issues/5042"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-15866",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383145,
"published_at": "2020-07-21T15:15:14.537+00:00"
}