{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.1.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1a9bdfcde5fd7c91e756747ba0565f29385115a7"
            },
            {
              "fixed": "97319697c8f9f6ff27b32589947e1918e3015503"
            }
          ],
          "repo": "https://github.com/mruby/mruby",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).",
  "id": "CVE-2020-36401",
  "modified": "2026-03-15T21:51:05.358378472Z",
  "published": "2021-07-01T03:15:07.820Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/mruby/OSV-2020-744.yaml"
    },
    {
      "type": "FIX",
      "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23801"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}