CVE-2022-28738

Source
https://cve.org/CVERecord?id=CVE-2022-28738
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28738.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-28738
Aliases
Downstream
Related
Published
2022-05-09T00:00:00Z
Modified
2026-05-15T04:04:41.025559179Z
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "3.x"
                },
                {
                    "fixed": "3.0.4"
                },
                {
                    "introduced": "3.1.x"
                },
                {
                    "fixed": "3.1.2"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28738.json",
    "cna_assigner": "mitre"
}
References

Affected packages