CVE-2020-36401

Source
https://cve.org/CVERecord?id=CVE-2020-36401
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36401.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-36401
Downstream
Published
2021-07-01T03:15:07Z
Modified
2026-04-11T09:46:25Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).

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
Fixed
Database specific
Show details
{
    "versions":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.1.2"
        }
    ]
}

Affected versions

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36401.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "257450489011316511620633402431798244724",
                "291664367464202302924807726550456561833",
                "283430232777236476392833576910594740772",
                "916156461856379022783379629891076070"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-36401-0cef8eb3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503",
        "target":  {
            "file":  "src/gc.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "73814944348713604547654280989925281376",
            "length":  326
        },
        "id":  "CVE-2020-36401-f28469e6",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503",
        "target":  {
            "file":  "src/gc.c",
            "function":  "mrb_realloc"
        }
    }
]
vanir_signatures_modified
"2026-04-11T09:46:25Z"