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…
Priority MEDIUM 40CWE-125Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 6 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-125 and the CVSS impact.
Summary
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 it matters now
EPSS 0.0437 91st percentileScored 2026-11-07
Fix Partial Red Hat: 10 advisoriesRed Hat: 6 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | before 2.6.10; 2.7.0 to before 2.7.6; 3.0.0 to before 3.0.4; 3.1.0 to before 3.1.2 | Vulnerable | ruby |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* | 11.0 to before 11.7.1; 12.0 to before 12.6.1 | Vulnerable | Apple |
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions before 2.6.10; 2.7.0 to before 2.7.6; 3.0.0 to before 3.0.4; 3.1.0 to before 3.1.2 Vulnerable ·ruby
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* Versions 11.0 to before 11.7.1; 12.0 to before 12.6.1 Vulnerable ·Apple
Remediation
Red Hat 10 advisories
- RHSA-2026:8838 Released 2026-04-17 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
- RHSA-2026:7307 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
- RHSA-2026:7305 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10
Show 7 more Red Hat advisories
- RHSA-2023:7025 Released 2023-11-14 · Red Hat rating Moderateruby:2.5 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-111.module+el8.9.0+19193+435404ae.aarch64::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.i686::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.ppc64le::ruby:2.5 +47
- RHSA-2022:6856 Released 2022-10-11 · Red Hat rating Moderaterh-ruby27-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-ruby27-ruby-2.7.6-131.el7, rh-ruby27-ruby-devel-2.7.6-131.el7, rh-ruby27-ruby-doc-2.7.6-131.el7 +19
- Red Hat Software Collections for RHEL(v. 7) rh-ruby27-ruby-2.7.6-131.el7, rh-ruby27-ruby-devel-2.7.6-131.el7, rh-ruby27-ruby-doc-2.7.6-131.el7 +19
- RHSA-2022:6855 Released 2022-10-11 · Red Hat rating Moderaterh-ruby30-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-ruby30-ruby-3.0.4-149.el7, rh-ruby30-ruby-default-gems-3.0.4-149.el7, rh-ruby30-ruby-devel-3.0.4-149.el7 +18
- Red Hat Software Collections for RHEL(v. 7) rh-ruby30-ruby-3.0.4-149.el7, rh-ruby30-ruby-default-gems-3.0.4-149.el7, rh-ruby30-ruby-devel-3.0.4-149.el7 +18
- RHSA-2022:6585 Released 2022-09-20 · Red Hat rating Moderateruby security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) ruby-doc-3.0.4-160.el9_0
- Red Hat Enterprise Linux AppStream (v. 9) ruby-3.0.4-160.el9_0, ruby-default-gems-3.0.4-160.el9_0, ruby-devel-3.0.4-160.el9_0 +18
- RHSA-2022:6450 Released 2022-09-13 · Red Hat rating Moderateruby:3.0 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.aarch64::ruby:3.0, ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.i686::ruby:3.0, ruby-3.0.4-141.module+el8.6.0+16311+3e5e17e9.ppc64le::ruby:3.0 +47
- RHSA-2022:6447 Released 2022-09-13 · Red Hat rating Moderateruby:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.7.6-138.module+el8.6.0+16148+54b2ba8f.aarch64::ruby:2.7, ruby-2.7.6-138.module+el8.6.0+16148+54b2ba8f.i686::ruby:2.7, ruby-2.7.6-138.module+el8.6.0+16148+54b2ba8f.ppc64le::ruby:2.7 +47
- RHSA-2022:5338 Released 2022-06-30 · Red Hat rating Moderateruby:2.6 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.6.10-109.module+el8.6.0+15475+c55337b4.aarch64::ruby:2.6, ruby-2.6.10-109.module+el8.6.0+15475+c55337b4.i686::ruby:2.6, ruby-2.6.10-109.module+el8.6.0+15475+c55337b4.ppc64le::ruby:2.6 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Hardened Images | Affected | No fix yet |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:6585 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:5338, RHSA-2022:6447, RHSA-2022:6450, RHSA-2023:7025 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:6585 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2022:6855, RHSA-2022:6856 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2022:6855, RHSA-2022:6856 |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2022-28739
- 2026-10-03 Alias added: GHSA-mvgc-rxvg-hqc6
- 2026-11-05 Affected versions changed · Red Hat
References
Advisory 8
- 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
Other 6
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13
- 20221030 APPLE-SA-2022-10-24-4 macOS Big Sur 11.7.1
- 20221030 APPLE-SA-2022-10-24-3 macOS Monterey 12.6.1
- 20221030 APPLE-SA-2022-10-27-6 Additional information for APPLE-SA-2022-10-24-3 macOS Monterey 12.6.1
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- https://security.gentoo.org/glsa/202401-27
Sources
- CVE-2022-28739 · CVE Program
- CVE-2022-28739 · NVD
- FIRST EPSS
- GHSA-mvgc-rxvg-hqc6 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-28739 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences