CVE-2022-28739

ruby: Buffer overrun in String-to-Float conversion

Published May 9, 2022 CVSS 3.1 · 7.5 High EPSS 4.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3450-1 ruby2.5 security update
Debian DLA Debian DLA DLA-3858-1 ruby2.7 security update
Ubuntu USN Ubuntu USN USN-5462-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-5462-2 Ruby vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 4, 2025, 4:09 PM
Reserved
Apr 6, 2022, 12:00 AM
Status
Modified
Published
May 9, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:38 AM
Severity
Moderate
Public date
Apr 14, 2022, 12:00 AM