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.
Conclusion & alert: CVE-2022-28738 is rated High Risk (70.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.57%). Core evidence: EPSS rose +2.10% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.47% | 2.57% | +2.10% |
| 2 | 2026-05-22 | 0.37% | 0.47% | +0.10% |
| 3 | 2026-03-04 | — | 0.37% | — |
Full EPSS history (44 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-28738: 1 source package rows (ruby); 12 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 5. | https://security.alpinelinux.org/vuln/CVE-2022-28738 |
debian
|
unimportant | CVE-2022-28738 unimportant priority: Debian including 1 source packages (ruby2.7), 1 status rows across 1 suites (bullseye): resolved 1. | https://security-tracker.debian.org/tracker/CVE-2022-28738 |
gentoo
|
normal | CVE-2022-28738: 1 GLSA(s) (202401-27), 1 atom(s) (dev-lang/ruby); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-28738 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-28738 |
ubuntu
|
medium | CVE-2022-28738 medium priority: Ubuntu including 4 source packages (ruby2.3, ruby2.5, ruby2.7, ruby3.0), 11 status rows across 7 suites (bionic, focal, impish, jammy, kinetic, upstream, xenial): not-affected 8, released 2, DNE 1. | https://ubuntu.com/security/CVE-2022-28738 |
| URL | Tags |
|---|---|
| https://hackerone.com/reports/1220911 | Permissions Required Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2022-28738 | Patch Third Party Advisory |
| https://security.gentoo.org/glsa/202401-27 | |
| https://security.netapp.com/advisory/ntap-20220624-0002/ | Third Party Advisory |
| https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/ | Vendor Advisory |