What’s Vulnerable › Vulnerabilities
CVE-2022-1212: Use-After-Free in str_escape in mruby/mruby in mruby/mruby
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-05 · updated 2026-06-17
- Weakness: CWE-416
Description
Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
Affected products
- mruby/mruby: through 3.0.0; 3.1.0-rc, 3.1.0-rc2
References
- https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
- https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
- https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6
- https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe
Get alerted when CVE-2022-1212 or the next vulnerability affects your stack