Vulnerability database / CVE-2022-28739
CVE-2022-28739
HIGH 7.5 CVSS 3.1 There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.
Published 9 May 2022
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-125 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.3
AV:N/AC:M/Au:N/C:P/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
< 2.6.10
2.6.10 NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.6
2.7.6 NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.4
3.0.4 NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.1.2
3.1.2 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD
apple
macoscpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
>= 11.0, < 11.7.1
11.7.1 NVD
apple
macoscpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
>= 12.0, < 12.6.1
12.6.1
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 9 May 2022)