Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27280

published critical CVSS 3.1 · 9.8

ruby: Buffer overread vulnerability in StringIO

Title from Red Hat VEX

Published
08 May 2024, 20:51:20 UTC
Updated
04 Nov 2025, 17:17:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
ruby-lang — ruby3.0.3 through 3.0.6 · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 ruby Advisory build 2.5.9-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
Alpine Linux edge ruby Fixed 3.3.1-r0 Package fix record
Oracle Linux 8 rubyaarch64 · ruby · 2.5b Advisory build 0:2.5.9-112.module+el8.10.0+90367+ae9e8511 ELSA-2024-4499
Red Hat Enterprise Linux RHEL-8 rubyaarch64 Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 ruby Advisory build 3.0.7-143.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 ruby Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 9 ruby Advisory build 3.0.7-162.el9_4 ALSA-2024:3838
AlmaLinux 9 ruby Advisory build 3.1.5-144.module_el9.4.0+101+d58a8d95 ALSA-2024:3668
AlmaLinux 9 ruby Advisory build 3.3.1-2.module_el9.4.0+102+68a93853 ALSA-2024:3671
Alpine Linux v3.16 ruby Fixed 3.1.5-r0 Package fix record
Alpine Linux v3.17 ruby Fixed 3.1.5-r0 Package fix record
Alpine Linux v3.18 ruby Fixed 3.2.4-r0 Package fix record
Alpine Linux v3.19 ruby Fixed 3.2.4-r0 Package fix record
Alpine Linux v3.20 ruby Fixed 3.3.1-r0 Package fix record
Alpine Linux v3.21 ruby Fixed 3.3.1-r0 Package fix record
Alpine Linux v3.22 ruby Fixed 3.3.1-r0 Package fix record
Alpine Linux v3.23 ruby Fixed 3.3.1-r0 Package fix record
Alpine Linux v3.24 ruby Fixed 3.3.1-r0 Package fix record
Oracle Linux 8 rubyaarch64 · ruby · 3.0b Advisory build 0:3.0.7-143.module+el8.10.0+90343+d5e92a1d ELSA-2024-3500
Oracle Linux 8 rubyaarch64 · ruby · 3.1b Advisory build 0:3.1.5-143.module+el8.10.0+90344+fc5884b3 ELSA-2024-3546
Oracle Linux 8 rubyaarch64 · ruby · 3.3b Advisory build 0:3.3.1-2.module+el8.10.0+90349+dd8a48dc ELSA-2024-3670
Oracle Linux 8 rubyx86_64 · ruby · 2.5b Advisory build 0:2.5.9-112.module+el8.10.0+90367+ae9e8511 ELSA-2024-4499
Oracle Linux 8 rubyx86_64 · ruby · 3.0b Advisory build 0:3.0.7-143.module+el8.10.0+90343+d5e92a1d ELSA-2024-3500
Oracle Linux 8 rubyx86_64 · ruby · 3.1b Advisory build 0:3.1.5-143.module+el8.10.0+90344+fc5884b3 ELSA-2024-3546
Oracle Linux 8 rubyx86_64 · ruby · 3.3b Advisory build 0:3.3.1-2.module+el8.10.0+90349+dd8a48dc ELSA-2024-3670
Oracle Linux 9 rubyaarch64 Advisory build 0:3.0.7-162.el9_4 ELSA-2024-3838
Oracle Linux 9 rubyaarch64 · ruby · 3.1b Advisory build 0:3.1.5-144.module+el9.4.0+90348+c2ef46bf ELSA-2024-3668
Oracle Linux 9 rubyaarch64 · ruby · 3.3b Advisory build 0:3.3.1-2.module+el9.4.0+90346+4cb4c4f5 ELSA-2024-3671
Oracle Linux 9 rubyx86_64 Advisory build 0:3.0.7-162.el9_4 ELSA-2024-3838
Oracle Linux 9 rubyx86_64 · ruby · 3.1b Advisory build 0:3.1.5-144.module+el9.4.0+90348+c2ef46bf ELSA-2024-3668
Oracle Linux 9 rubyx86_64 · ruby · 3.3b Advisory build 0:3.3.1-2.module+el9.4.0+90346+4cb4c4f5 ELSA-2024-3671
Red Hat Enterprise Linux RHEL-8 rubyaarch64 Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubyaarch64 Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubyaarch64 Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-8 rubyi686 Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Red Hat Enterprise Linux RHEL-8 rubyi686 Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubyi686 Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubyi686 Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-8 rubyppc64le Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Red Hat Enterprise Linux RHEL-8 rubyppc64le Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubyppc64le Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubyppc64le Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-8 rubys390x Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Red Hat Enterprise Linux RHEL-8 rubys390x Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubys390x Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubys390x Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-8 rubysrc Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Red Hat Enterprise Linux RHEL-8 rubysrc Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubysrc Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubysrc Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-8 rubyx86_64 Advisory build 2.5.9-112.module+el8.10.0+22021+135c76a8 RHSA-2024:4499
Red Hat Enterprise Linux RHEL-8 rubyx86_64 Advisory build 3.0.7-143.module+el8.10.0+21858+d19f3934 RHSA-2024:3500
Red Hat Enterprise Linux RHEL-8 rubyx86_64 Advisory build 3.1.5-143.module+el8.10.0+21792+e2f63d26 RHSA-2024:3546
Red Hat Enterprise Linux RHEL-8 rubyx86_64 Advisory build 3.3.1-2.module+el8.10.0+21860+47fbda2a RHSA-2024:3670
Red Hat Enterprise Linux RHEL-9 rubyaarch64 Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubyaarch64 Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubyaarch64 Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
Red Hat Enterprise Linux RHEL-9 rubyi686 Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubyi686 Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubyi686 Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
Red Hat Enterprise Linux RHEL-9 rubyppc64le Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubyppc64le Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubyppc64le Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
Red Hat Enterprise Linux RHEL-9 rubys390x Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubys390x Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubys390x Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
Red Hat Enterprise Linux RHEL-9 rubysrc Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubysrc Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubysrc Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
Red Hat Enterprise Linux RHEL-9 rubyx86_64 Advisory build 3.0.7-162.el9_4 RHSA-2024:3838
Red Hat Enterprise Linux RHEL-9 rubyx86_64 Advisory build 3.1.5-144.module+el9.4.0+21780+79b7bdb5 RHSA-2024:3668
Red Hat Enterprise Linux RHEL-9 rubyx86_64 Advisory build 3.3.1-2.module+el9.4.0+21859+16f07581 RHSA-2024:3671
AlmaLinux 8 ruby-bundled-gems Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby-bundled-gems Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 8 ruby-default-gems Advisory build 3.0.7-143.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 ruby-default-gems Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby-default-gems Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 8 ruby-devel Advisory build 2.5.9-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 ruby-devel Advisory build 3.0.7-143.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 ruby-devel Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby-devel Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 8 ruby-doc Advisory build 2.5.9-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 ruby-doc Advisory build 3.0.7-143.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 ruby-doc Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby-doc Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 8 ruby-irb Advisory build 2.5.9-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 ruby-libs Advisory build 2.5.9-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 ruby-libs Advisory build 3.0.7-143.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 ruby-libs Advisory build 3.1.5-143.module_el8.10.0+3854+02eaa59a ALSA-2024:3546
AlmaLinux 8 ruby-libs Advisory build 3.3.1-2.module_el8.10.0+3855+767cb125 ALSA-2024:3670
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2024:3670
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.9.0+3746+91b8233a ALSA-2024:3546
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.10.0+3871+342e2c2f ALSA-2024:4499
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2024:3670
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.10.0+3852+ce828b19 ALSA-2024:3500
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.9.0+3746+91b8233a ALSA-2024:3546
AlmaLinux 8 rubygem-bigdecimal Advisory build 1.3.4-112.module_el8.10.0+3871+342e2c2f ALSA-2024:4499

Package entries are limited to the first 100 builds and 100 linked 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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna
ruby-lang ruby 3.0.3 through 3.0.6 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

2
  • n/a (mitre · cna)
  • CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CISA-ADP · adp)

References

9

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
28a6c8b65b829b9cd13a3d562b0c40a4b3970b987601061433f2de8588cd541f
Ingested
23 Sep 2026, 08:20:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected