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.

Published: 2022-05-09 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-28739 is rated Moderate Risk (64.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.87%). Core evidence: EPSS rose +3.56% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-28739

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.31% 3.87% +3.56%
2 2026-04-23 0.36% 0.31% -0.04%
3 2026-04-22 0.36%

Full EPSS history (50 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-28739

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2022-28739

OS Trackers for CVE-2022-28739

vendor priority summary link
alpine CVE-2022-28739: 1 source package rows (ruby); 60 state rows across 8 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 8, open 52. https://security.alpinelinux.org/vuln/CVE-2022-28739
debian not yet assigned CVE-2022-28739 not yet assigned priority: Debian including 1 source packages (ruby2.7), 1 status rows across 1 suites (bullseye): resolved 1. https://security-tracker.debian.org/tracker/CVE-2022-28739
gentoo normal CVE-2022-28739: 1 GLSA(s) (202401-27), 1 atom(s) (dev-lang/ruby); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-28739
redhat medium https://access.redhat.com/security/cve/CVE-2022-28739
suse medium CVE-2022-28739 severity moderate: SUSE including 356 source package names (2.17-17.3:libruby2_5-2_5-2.5.9-150000.4.23.1, 2.17-17.3:ruby2.5-2.5.9-150000.4.23.1, …), 1049 product×package rows across 225 product lines (Container bci/ruby, Container suse/rmt-server, … (225 product lines)): Fixed 825, Known Affected 184, Will Not Fix 40. https://www.suse.com/security/cve/CVE-2022-28739/
ubuntu low CVE-2022-28739 low priority: Ubuntu including 4 source packages (ruby2.3, ruby2.5, ruby2.7, ruby3.0), 11 status rows across 7 suites (bionic, focal, impish, jammy, kinetic, upstream, xenial): released 6, needs-triage 3, DNE 1, not-affected 1. https://ubuntu.com/security/CVE-2022-28739

Affected software / configurations for CVE-2022-28739

Vendor Product Version Raw CPE
ruby-lang ruby < 2.6.10 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.7.0, < 2.7.6 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 3.0.0, < 3.0.4 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 3.1.0, < 3.1.2 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
apple macos >= 11.0, < 11.7.1 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
apple macos >= 12.0, < 12.6.1 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*

References for CVE-2022-28739

URL Tags
http://seclists.org/fulldisclosure/2022/Oct/28
http://seclists.org/fulldisclosure/2022/Oct/29
http://seclists.org/fulldisclosure/2022/Oct/30
http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2022/Oct/42
https://hackerone.com/reports/1248108 Permissions Required Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
https://security-tracker.debian.org/tracker/CVE-2022-28739 Third Party Advisory
https://security.gentoo.org/glsa/202401-27
https://security.netapp.com/advisory/ntap-20220624-0002/ Third Party Advisory
https://support.apple.com/kb/HT213488 Third Party Advisory
https://support.apple.com/kb/HT213493 Third Party Advisory
https://support.apple.com/kb/HT213494 Third Party Advisory
https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/ Vendor Advisory
https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
cvelogic Threat Intelligence