Home / Ruby-lang / Ruby / CVE-2022-28739
CVE-2022-28739: is it exploited, and which versions of Ruby-lang Ruby are affected and fixed?
CVE-2022-28739 is an out-of-bounds read vulnerability in Ruby-lang Ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: ruby before 2.6.10, ruby from 2.7.0 before 2.7.6, ruby from 3.0.0 before 3.0.4 and 6 more (NVD). Fixed in 2.6.10, 2.7.6, 3.0.4, 3.1.2 and 2 more (NVD). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2022-28739?
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.
From the CVE record by mitre, last updated November 4, 2025, 16:09 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruby-lang | ruby | before 2.6.10 | application |
| ruby-lang | ruby | from 2.7.0 before 2.7.6 | application |
| ruby-lang | ruby | from 3.0.0 before 3.0.4 | application |
| ruby-lang | ruby | from 3.1.0 before 3.1.2 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| apple | macos | from 11.0 before 11.7.1 | operating system |
| apple | macos | from 12.0 before 12.6.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:38 UTC.
How severe is CVE-2022-28739?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-28739 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.53% probability of exploitation activity in the next 30 days, percentile 91.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and 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
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-4 macOS Big Sur 11.7.1 mailing-list
- 20221030 APPLE-SA-2022-10-24-3 macOS Monterey 12.6.1 mailing-list
- 20221030 APPLE-SA-2022-10-27-6 Additional information for APPLE-SA-2022-10-24-3 macOS Monterey 12.6.1 mailing-list
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- https://security.gentoo.org/glsa/202401-27
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
When was it published, and where is the official record?
- Reserved
- April 6, 2022
- Published
- May 9, 2022, 00:00 UTC
- CVE record updated
- November 4, 2025, 16:09 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:38 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ruby?
- Nov 19, 2026CVE-2026-132825 ruby-lang Ruby: heap buffer overflow
- May 22, 2026CVE-2026-46727 ruby-lang Ruby: race condition
- Mar 31, 2023CVE-2023-28756 Ruby-lang Ruby: regular expression denial of service (ReDoS)
- Nov 18, 2022CVE-2021-33621 Ruby-lang Cgi: injection
- May 9, 2022CVE-2022-28738 Ruby-lang Ruby: double free
- Jan 1, 2022CVE-2021-41819 Ruby-lang Cgi: trust in cookies without checks
- Jan 1, 2022CVE-2021-41817 Ruby-lang Date: regular expression denial of service (ReDoS)
- Aug 1, 2021CVE-2021-32066 Ruby-lang Ruby: exceptional condition mishandled
Questions about CVE-2022-28739
Is CVE-2022-28739 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 4.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruby-lang Ruby are affected by CVE-2022-28739?
ruby before 2.6.10, ruby from 2.7.0 before 2.7.6, ruby from 3.0.0 before 3.0.4, ruby from 3.1.0 before 3.1.2, debian linux 9.0, debian linux 10.0 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-28739?
2.6.10, 2.7.6, 3.0.4, 3.1.2, 11.7.1 and 12.6.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-28739?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-28739?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.