{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-28738","published":"2022-05-09T18:15:08.490000Z","last_modified":"2026-06-17T04:38:56.777000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-415"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"3.0.0","version_end_excluding":"3.0.4"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"3.1.0","version_end_excluding":"3.1.2"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.02678,"percentile":0.86572,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-28738/","html_en":"/en/cve/CVE-2022-28738/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-28738","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-28738"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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.","affected":[],"references":[{"url":"https://hackerone.com/reports/1220911","tags":["Permissions Required","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-28738","tags":["Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202401-27","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220624-0002/","tags":["Third Party Advisory"]},{"url":"https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2025:15819-1","url":"https://www.suse.com/support/update/","published":"2025-12-12T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"libruby4_0-4_0-4.0.0~preview2-1.1 on GA media"}}]}