CVE-2024-27280
CVSS v3
9.8
CRITICAL
EPSS Score
2.4 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for stringio.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- stringioRubyGemsall versions · fixed in 3.0.1.1
- rubyRocky Linux:8all versions · fixed in 0:3.1.5-143.module+el8.10.0+1826+b62220b4
- rubyAlmaLinux:9all versions · fixed in 3.0.7-162.el9_4and 4 other packages
- rubyAlmaLinux:8all versions · fixed in 2.5.9-112.module_el8.10.0+3871+342e2c2fand 4 other packages
- ruby-bundled-gemsAlmaLinux:9all versions · fixed in 3.3.1-2.module_el9.4.0+102+68a93853
- ruby-bundled-gemsAlmaLinux:8all versions · fixed in 3.3.1-2.module_el8.10.0+3855+767cb125and 1 other package
- rubygem-abrtRocky Linux:8all versions · fixed in 0:0.4.0-1.module+el8.10.0+1679+61871737
- rubygem-abrtAlmaLinux:8all versions · fixed in 0.3.0-4.module_el8.10.0+3871+342e2c2fand 1 other package
48 more package ranges on OSV.dev
Vendor advisories
ruby: Buffer overread vulnerability in StringIO
ruby as a component of Red Hat Enterprise Linux 6 · ruby-devel as a component of Red Hat Enterprise Linux 6 · ruby-docs as a component of Red Hat Enterprise Linux 6
Red Hat Security Advisory: ruby security update
Red Hat Security Advisory: ruby security update
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update
2 more advisories
Description
A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however, for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is stringio 3.0.1.2.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-04-15
Frequently asked questions
What is CVE-2024-27280?
Is CVE-2024-27280 actively exploited?
What is the CVSS score for CVE-2024-27280?
Running stringio? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.