Read the docs
TI-2022-01100 Aliases CVE-2022-1212GHSA-xh66-6mj6-94rg

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

Priority MEDIUM 46CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01794 78th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mruby/mruby (mruby): 3.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
mrubymruby/mrubybefore 3.23.2Patch availableCNA
  • mruby/mruby Vendormruby Affected before 3.2 Fixed in 3.2 Patch available CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*up to 3.0.0Vulnerablemruby
cpe:2.3:a:mruby:mruby:3.1.0:rc:*:*:*:*:*:*3.1.0 rcVulnerablemruby
cpe:2.3:a:mruby:mruby:3.1.0:rc2:*:*:*:*:*:*3.1.0 rc2Vulnerablemruby
  • cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:* Versions up to 3.0.0 Vulnerable ·mruby
  • cpe:2.3:a:mruby:mruby:3.1.0:rc:*:*:*:*:*:* Versions 3.1.0 rc Vulnerable ·mruby
  • cpe:2.3:a:mruby:mruby:3.1.0:rc2:*:*:*:*:*:* Versions 3.1.0 rc2 Vulnerable ·mruby

Remediation

  • Fix · CNA mruby/mruby (mruby) Fixed in 3.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-1212
  2. 2026-10-03 Alias added: GHSA-xh66-6mj6-94rg

References

  • TI-2022-00033 Heap-based Buffer Overflow in mruby/mruby CVSS 3.1CRITICAL 9.8
  • TI-2026-01636 mruby JMPNOT-to-JMPIF Optimization vm.c mrb_vm_exec use after free CVSS 4.0MEDIUM 4.8
  • TI-2025-11794 mruby array.c ary_fill_exec out-of-bounds write CVSS 4.0MEDIUM 4.8
  • TI-2025-06567 mruby nregs codegen.c scope_new heap-based overflow CVSS 4.0MEDIUM 4.8
  • TI-2018-07224 In versions of mruby up to and including 1.4.0, an integer overflow exists in… CVSS 3.1CRITICAL 9.8
  • TI-2020-12486 mruby through 2.1.2-rc has a heap-based buffer overflow in the mrb_yield_with_class… CVSS 3.1CRITICAL 9.8
See all 41 →

Sources