cve.bz

CVE-2022-28739 Out-of-bounds Read

7.5 highEPSS 4.5%

High (7.5). EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
4.5% (unchanged from 4.4% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-28739 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28739?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28739?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-28739 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubybefore 2.6.10
ruby-lang:rubyfrom 2.7.0 before 2.7.6
ruby-lang:rubyfrom 3.0.0 before 3.0.4
ruby-lang:rubyfrom 3.1.0 before 3.1.2
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
apple:macosfrom 11.0 before 11.7.1
apple:macosfrom 12.0 before 12.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ruby2.52.5.5-3+deb10u6DLA-3450-1
Debian11ruby2.72.7.4-1+deb11u2DEBIAN-CVE-2022-28739 DLA-3858-1
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.12UBUNTU-CVE-2022-28739 USN-5462-1
Ubuntu20.04:LTSruby2.72.7.0-5ubuntu1.7UBUNTU-CVE-2022-28739 USN-5462-1
Ubuntu22.04:LTSruby3.03.0.2-7ubuntu2.1UBUNTU-CVE-2022-28739 USN-5462-1
UbuntuPro:16.04:LTSruby2.32.3.1-2~ubuntu16.04.16+esm3UBUNTU-CVE-2022-28739 USN-5462-2
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-111.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 5 more0:2.7.6-138.module+el8.6.0+16148+54b2ba8fRHSA-2022:6447
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 5 more0:3.0.4-141.module+el8.6.0+16311+3e5e17e9RHSA-2022:6450
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 4 more0:2.6.10-109.module+el8.6.0+15475+c55337b4RHSA-2022:5338
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3653+beb38eb0RHSA-2022:5338
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.3.0+7192+4e3a532aRHSA-2022:6447
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.5.0+11580+845038ebRHSA-2022:6450
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-111.module+el8.9.0+19193+435404aeRHSA-2023:7025
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.4.1-109.module+el8.6.0+15475+c55337b4RHSA-2022:5338
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:2.0.0-138.module+el8.6.0+16148+54b2ba8fRHSA-2022:6447
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.0.0-141.module+el8.6.0+16311+3e5e17e9RHSA-2022:6450
127 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 moreruby2.52.5.9-150000.4.23.1SUSE-SU-2022:1512-1
openSUSELeap 15.3, Leap 15.4ruby2.52.5.9-150000.4.23.1SUSE-SU-2022:1512-1
openSUSETumbleweedruby3.13.1.2-1.1openSUSE-SU-2024:12006-1
openSUSETumbleweedruby3.23.2.1-1.1openSUSE-SU-2024:12712-1
openSUSETumbleweedruby3.33.3.0-1.2openSUSE-SU-2024:13623-1
openSUSETumbleweedruby3.43.4.1-1.1openSUSE-SU-2025:14621-1
openSUSETumbleweedruby4.04.0.0~preview2-1.1openSUSE-SU-2025:15819-1
AlmaLinux8ruby, ruby-doc, ruby-irb and 2 more2.5.9-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux8ruby, ruby-doc, ruby-libs and 2 more2.7.6-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux8ruby, ruby-doc, ruby-libs and 2 more3.0.4-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2023:7025
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.5.0+2595+0c654ebcALSA-2022:6447 ALSA-2022:6450
AlmaLinux8rubygem-bigdecimal1.3.4-111.module_el8.9.0+3635+c6f99506ALSA-2023:7025
AlmaLinux8rubygem-bigdecimal2.0.0-138.module_el8.6.0+3263+904da987ALSA-2022:6447
AlmaLinux8rubygem-bigdecimal3.0.0-141.module_el8.6.0+3263+41cde0c0ALSA-2022:6450
AlmaLinux8rubygem-bson4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2023:7025
AlmaLinux8rubygem-bson4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2023:7025
AlmaLinux8rubygem-bson4.8.1-1.module_el8.4.0+2399+4e3a532aALSA-2022:6447
AlmaLinux8rubygem-bson4.8.1-1.module_el8.5.0+117+35d1289bALSA-2022:6447
81 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-111.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8ruby0:2.6.10-109.module+el8.6.0+988+8031c193RLSA-2022:5338
Rocky Linux8ruby0:2.7.6-138.module+el8.6.0+1001+b5678180RLSA-2022:6447
Rocky Linux8ruby0:3.0.4-141.module+el8.6.0+1002+a7dba0acRLSA-2022:6450
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2022:5338
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2022:5338
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2022:5338 RLSA-2023:7025
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2023:7025
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.4.0+411+b946f28cRLSA-2022:6447 RLSA-2022:6450
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.4.0+594+11b6673aRLSA-2022:6447 RLSA-2022:6450
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2022:6447 RLSA-2022:6450
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2023:7025
25 more for Rocky Linux in the JSON.
Alpinev3.12, v3.13, v3.14ruby2.7.6-r0ALPINE-CVE-2022-28739
Alpinev3.15ruby3.0.4-r0ALPINE-CVE-2022-28739
Alpinev3.16, v3.17, v3.18 and 6 moreruby3.1.2-r0ALPINE-CVE-2022-28739

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.6-8060020220527104428.ad008a3aFixed 2022-06-30RHSA-2022:5338
Red Hat Enterprise Linux 8ruby:2.7-8060020220728151401.ad008a3aFixed 2022-09-13RHSA-2022:6447
Red Hat Enterprise Linux 8ruby:3.0-8060020220810162001.ad008a3aFixed 2022-09-13RHSA-2022:6450
Red Hat Enterprise Linux 8ruby:2.5-8090020230627084142.b46abd14Fixed 2023-11-14RHSA-2023:7025
Red Hat Enterprise Linux 9ruby-0:3.0.4-160.el9_0Fixed 2022-09-20RHSA-2022:6585
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby30-ruby-0:3.0.4-149.el7Fixed 2022-10-11RHSA-2022:6855
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby27-ruby-0:2.7.6-131.el7Fixed 2022-10-11RHSA-2022:6856
Red Hat Hardened Imagesruby3-3-main-3.3.10-23.1.hum1Fixed 2026-04-09RHSA-2026:7305
Red Hat Hardened Imagesruby3-4-main-3.4.8-31.1.hum1Fixed 2026-04-09RHSA-2026:7307
Red Hat Hardened Imagesruby4-0-main-4.0.0-33.3.hum1Fixed 2026-04-17RHSA-2026:8838
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyOut of support scope
Red Hat Hardened ImagesrubyAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-28739.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON