{
    "id": "CVE-2022-28738",
    "published": "2022-05-09 18:15:08",
    "last_modified": "2026-06-17 04:38:56",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-415",
    "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.",
    "epss_score": "0.02974",
    "epss_percentile": "0.86892",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 0,
    "updated_at": "2026-10-11 18:17:29",
    "priority": {
        "rank": 3,
        "label": "In your normal cycle",
        "why": "Critical by CVSS (9.8), but no sign of active exploitation."
    },
    "products": [
        {
            "vendor": "ruby-lang",
            "product": "ruby"
        }
    ],
    "kev_detail": null,
    "exploits": [],
    "refs_list": [
        "https://hackerone.com/reports/1220911",
        "https://security-tracker.debian.org/tracker/CVE-2022-28738",
        "https://security.gentoo.org/glsa/202401-27",
        "https://security.netapp.com/advisory/ntap-20220624-0002/",
        "https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/",
        "https://hackerone.com/reports/1220911",
        "https://security-tracker.debian.org/tracker/CVE-2022-28738",
        "https://security.gentoo.org/glsa/202401-27",
        "https://security.netapp.com/advisory/ntap-20220624-0002/",
        "https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/"
    ]
}