Back to Database
Status published
High
CVE-2022-28739
There is a buffer over-read in Ruby before 2.6.10, 2.7.x...
Vulnerability Description
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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-28739
Credits & Attribution
No credits recorded in the NVD database.
References
- https://hackerone.com/reports/1248108
- https://security-tracker.debian.org/tracker/CVE-2022-28739
- https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/
- https://security.netapp.com/advisory/ntap-20220624-0002/
- https://support.apple.com/kb/HT213488
- https://support.apple.com/kb/HT213494
- https://support.apple.com/kb/HT213493
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/30
- http://seclists.org/fulldisclosure/2022/Oct/29
- http://seclists.org/fulldisclosure/2022/Oct/42
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- https://security.gentoo.org/glsa/202401-27
More from ruby-lang
View All →CVE-2025-27221
In the URI gem before 1.0.3 for Ruby, the URI...
Low
3.2
CVE-2025-27220
In the CGI gem before 0.4.2 for Ruby, a Regular...
Medium
4
CVE-2025-27219
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse...
Medium
5.8
CVE-2022-28738
A double free was found in the Regexp compiler in...
Critical
9.8
CVE-2021-41819
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie...
Unknown
0
Affected Vendor
ruby-lang
View all reports →Affected Software
ruby, debian linux, macos
Vulnerable Versions:
0, 2.7.0, 3.0.0, 3.1.0, 9.0, 10.0, 11.0, 12.0
Timeline
Official Publish:
May 9th, 2022
Last Modified:
November 4th, 2025
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.