Read the docs
TI-2025-06567 Aliases CVE-2025-7207GHSA-48pr-6hvf-39v3

mruby nregs codegen.c scope_new heap-based overflow

Priority MEDIUM 55CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Deferred Red Hat: fix deferred

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbgems/mruby-compiler/core/codegen.c of the component nregs Handler. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The name of the patch is 1fdd96104180cc0fb5d3cb086b05ab6458911bb9. It is recommended to apply a patch to fix this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0026 17th percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD and the CNA
Fix Deferred Red Hat: fix deferred

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mruby3.4.0-rc1; 3.4.0-rc2—No fix listedCNA
  • mruby Vendor— Affected 3.4.0-rc1; 3.4.0-rc2 Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:*before 3.4.0Vulnerablemruby
cpe:2.3:a:mruby:mruby:3.4.0:rc:*:*:*:ruby:*:*3.4.0 rcVulnerablemruby
cpe:2.3:a:mruby:mruby:3.4.0:rc2:*:*:*:ruby:*:*3.4.0 rc2Vulnerablemruby
  • cpe:2.3:a:mruby:mruby:*:*:*:*:*:ruby:*:* Versions before 3.4.0 Vulnerable ·mruby
  • cpe:2.3:a:mruby:mruby:3.4.0:rc:*:*:*:ruby:*:* Versions 3.4.0 rc Vulnerable ·mruby
  • cpe:2.3:a:mruby:mruby:3.4.0:rc2:*:*:*:ruby:*:* Versions 3.4.0 rc2 Vulnerable ·mruby

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-7207
  2. 2026-10-03 Alias added: GHSA-48pr-6hvf-39v3

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-2018-07224 In versions of mruby up to and including 1.4.0, an integer overflow exists in… CVSS 3.1CRITICAL 9.8
  • TI-2022-01100 Use-After-Free in str_escape in mruby/mruby in mruby/mruby 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