# CVE-2021-4188: NULL Pointer Dereference in mruby/mruby

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-30T06:55:09.000Z
- Modified: 2026-06-17T04:19:11.027Z
- Weaknesses: CWE-476
- Assigned by: @huntrdev

## Description

mruby is vulnerable to NULL Pointer Dereference

(As written by CVE List.)

## Affected

- mruby mruby/mruby: from unspecified before 3.1
- mruby mruby: up to 3.0.0

## Every score

- @huntrdev: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/78533fb9-f3e0-47c2-86dc-d1f96d5bea28> (exploit, patch, third-party-advisory)
- <https://github.com/mruby/mruby/commit/27d1e0132a0804581dca28df042e7047fd27eaa8> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4188](https://www.cve.org/CVERecord?id=CVE-2021-4188), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4188](https://nvd.nist.gov/vuln/detail/CVE-2021-4188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4188 · Whole record: https://cve.day/CVE-2021-4188.json · Rebuilt by cve.day 2026-11-25T22:58:06.296Z
