CVE-2022-1212

published 5 Apr 2022 · updated 18 Feb 2026

Use-After-Free in str_escape in mruby/mruby in mruby/mruby

9.3CriticalCVSS 9.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mruby<3.23.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1212 severity on Zeptric[![CVE-2022-1212](https://zeptric.io/badge/cve/CVE-2022-1212.svg)](https://zeptric.io/cve/CVE-2022-1212)