{"id":"CVE-2022-1212","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-1212","generatedAt":"2026-10-27T20:53:57.909Z","title":"Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2.","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.","published":"2022-04-05T04:15:09.000Z","lastModified":"2026-06-17T04:22:01.000Z","status":"Modified","sourceIdentifier":"security@huntr.dev","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-416"],"affected":["mruby/mruby"],"epss":{"score":0.01794,"percentile":0.78266,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.79%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6","tags":["Patch","Third Party Advisory"],"source":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"source":"security@huntr.dev"},{"url":"https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1212","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}