Vulnerability CVE-2022-28738


Published: 2022-05-09

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:
https://security-tracker.debian.org/tracker/CVE-2022-28738
https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/
https://hackerone.com/reports/1220911

Copyright 2026, cxsecurity.com

 

Back to Top