Double Free in Ruby-lang Ruby
CVE-2022-28738
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.
Vulnerability class: Double Free
EPSS: 0.027 (84.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Ruby-lang Ruby
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Permissions Required, Third Party Advisory)
- cve@mitre.org (Vendor Advisory)
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (Third Party Advisory)
- cve@mitre.org (vendor-advisory)
Frequently asked questions
- What is CVE-2022-28738?
- CVE-2022-28738 is a critical-severity vulnerability in Ruby-lang Ruby, classified under Double Free. CVSS score: 9.8/10. Published 2022-05-09.
- How severe is CVE-2022-28738?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-28738 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.