Description
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.
References (5)
Core 5
Core References
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202401-27
Permissions Required, Third Party Advisory
https://hackerone.com/reports/1220911
Patch, Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2022-28738
Third Party Advisory
https://security.netapp.com/advisory/ntap-20220624-0002/
Scores
CVSS v3
9.8
EPSS
0.0257
EPSS Percentile
83.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-415
Status
published
Products (1)
ruby-lang/ruby
3.0.0 - 3.0.4
Published
May 09, 2022
Tracked Since
Feb 18, 2026