CVE catalog

CVE-2022-28738

libruby3_1-3_1-3.1.2-1.1 on GA media

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
3.14% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubunturuby3.022.043.0.2-5ubuntu1vulnerable
Ubunturuby3.022.043.0.2-7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.1fixed
Ubunturuby2.518.042.5.0~preview1-1ubuntu2vulnerable
Ubunturuby2.518.042.5.0-4ubuntu1vulnerable
Ubunturuby2.518.042.5.0-4ubuntu4vulnerable
Ubunturuby2.518.042.5.0-5ubuntu1vulnerable
Ubunturuby2.518.042.5.0-6ubuntu1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.2vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.4vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.5vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.6vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.7vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.8vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.9vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.10vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.11vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.12fixed
Ubunturuby2.720.042.7.0-1vulnerable
Ubunturuby2.720.042.7.0-2vulnerable
Ubunturuby2.720.042.7.0-3vulnerable
Ubunturuby2.720.042.7.0-4vulnerable
Ubunturuby2.720.042.7.0-4ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.2vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.3vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.4vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.5vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.6vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.7fixed
Ubunturuby3.022.043.0.2-5ubuntu1vulnerable
Ubunturuby3.022.043.0.2-7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.1fixed
Opensuseruby3.1tumbleweed3.1.2-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Ubunturuby3.0deb22.043.0.2-7ubuntu2.1Not reportedUBUNTU-CVE-2022-28738Not reported
Ubunturuby2.5deb18.042.5.1-1ubuntu1.12Not reportedUSN-5462-1Not reported
Ubunturuby2.7deb20.042.7.0-5ubuntu1.7Not reportedUSN-5462-1Not reported
Ubunturuby3.0deb22.043.0.2-7ubuntu2.1Not reportedUSN-5462-1Not reported
Opensuseruby3.1rpmtumbleweed3.1.2-1.1Not reportedOPENSUSE-SU-2024:12006-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References