CVE-2022-28738

    Dashboard / Vulnerabilities / CVE-2022-28738

    CVE-2022-28738

    Published: 9 May 2022Last Modified: 12 Aug 2026

    Summary:

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 95aff214687a5e12c3eb57d056665741e734c188

    Affected versions

    v3_1_1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-28738 | CVE-DB