Read the docs
TI-2022-11372 Aliases CVE-2022-28738GHSA-8pqg-8p79-j5j8

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before…

Priority MEDIUM 48CWE-415Published · 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 and Red Hat. Impact type from CWE-415 and the CVSS impact.

Summary

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

Why it matters now

EPSS 0.03138 87th percentileScored 2026-11-07
Fix Fixed Red Hat: 3 advisories

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*3.0.0 to before 3.0.4; 3.1.0 to before 3.1.2Vulnerableruby
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.0.4; 3.1.0 to before 3.1.2 Vulnerable ·ruby

Remediation

Red Hat 3 advisories

  • RHSA-2022:6855 Released 2022-10-11 · Red Hat rating Moderate
    rh-ruby30-ruby security, bug fix, and enhancement update
    • Red Hat Software Collections for RHEL Workstation(v. 7) rh-ruby30-ruby-3.0.4-149.el7, rh-ruby30-ruby-default-gems-3.0.4-149.el7, rh-ruby30-ruby-devel-3.0.4-149.el7 +18
    • Red Hat Software Collections for RHEL(v. 7) rh-ruby30-ruby-3.0.4-149.el7, rh-ruby30-ruby-default-gems-3.0.4-149.el7, rh-ruby30-ruby-devel-3.0.4-149.el7 +18
  • RHSA-2022:6585 Released 2022-09-20 · Red Hat rating Moderate
    ruby security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) ruby-doc-3.0.4-160.el9_0
    • Red Hat Enterprise Linux AppStream (v. 9) ruby-3.0.4-160.el9_0, ruby-default-gems-3.0.4-160.el9_0, ruby-devel-3.0.4-160.el9_0 +18
  • RHSA-2022:6450 Released 2022-09-13 · Red Hat rating Moderate
    ruby:3.0 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.aarch64::ruby:3.0, ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.i686::ruby:3.0, ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.ppc64le::ruby:3.0 +47

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:6585
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:6450
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:6585
Red Hat Software Collections for RHEL Workstation(v. 7)Fixed RHSA-2022:6855
Red Hat Software Collections for RHEL(v. 7)Fixed RHSA-2022:6855
Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-28738
  2. 2026-10-03 Alias added: GHSA-8pqg-8p79-j5j8

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
  • TI-2008-03501 Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value… CVSS 2.0HIGH 7.8
  • TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
  • TI-2013-03637 Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1… CVSS 2.0MEDIUM 6.8
  • TI-2018-11751 An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5… CVSS 3.0CRITICAL 9.8
See all 92 →

Sources