CVE-2020-36401 json
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
published 2021-07-01 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-23929
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).
Patch / fix
- mruby Debian 14, Debian 13, Debian 12 2.1.2-3
debian advisories DEBIAN-CVE-2020-36401
- mruby Arch Linux 3.0.0-1
arch linux advisories AVG-2116
Exploit prediction
0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23801 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/mruby/mruby/commit/97319697c8f9f6ff27b32589947e1918e3015503
patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=23801
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/google/oss-fuzz-vulns/blob/main/vulns/mruby/OSV-2020-744.yaml
third-party-advisory
Sources
- CVE List CVE-2020-36401
- NVD CVE-2020-36401
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.