What’s Vulnerable › Vulnerabilities
CVE-2022-0631: Heap-based Buffer Overflow in mruby/mruby
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-18 · updated 2026-06-17
- Weakness: CWE-122
Description
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
Affected products
- mruby/mruby: before 3.2 — fixed in 3.2
How to fix
Upgrade to a fixed version: mruby/mruby 3.2. Check the vendor advisory for mitigations.
References
- https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299
- https://huntr.dev/bounties/9bdc49ca-6697-4adc-a785-081e1961bf40
- https://github.com/mruby/mruby/commit/47068ae07a5fa3aa9a1879cdfe98a9ce0f339299
- https://huntr.dev/bounties/9bdc49ca-6697-4adc-a785-081e1961bf40
Get alerted when CVE-2022-0631 or the next vulnerability affects your stack