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.
CVE-2022-28739 is a high-severity flaw (CVSS 7.5) affecting ruby, debian linux, macos. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 9%: very likely to be exploited
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.4% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2022-05-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-28739?
ruby: upgrade to 2.6.10, 2.7.6, 3.0.4, 3.1.2; debian linux: mitigate or apply the listed mitigation; macos: upgrade to 11.7.1, 12.6.1. Exact commands for each OS are on this page.
Is CVE-2022-28739 being exploited?
CVE-2022-28739 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-28739 affect?
CVE-2022-28739 affects ruby, debian linux, macos. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2022-28739?
Priority 59/100. High severity; EPSS top 9%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · macOS vulnerabilities · Ruby vulnerabilities
Related CVEs
- CVE-2026-46727 HIGH 8.1 UPGRADE An issue was discovered in Ruby 4 before 4.0.5
- CVE-2023-28756 MEDIUM 5.3 UPGRADE DOWNGRADE A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1
- CVE-2022-28738 CRITICAL 9.8 UPGRADE 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
- CVE-2021-41819 HIGH 7.5 DOWNGRADE UPGRADE CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names
- CVE-2021-41817 HIGH 7.5 UPGRADE UPGRADE Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a lo