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.
CVE-2024-27280
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 6.5%, top 9% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- —
- EPSS
- 82.0%
- KEV
- Not listed
Published
May 14, 2024
Last Modified
April 15, 2026
Advisory Details (8)
Auto-updated May 2, 2026[SECURITY] Fedora 40 Update: ruby-3.3.1-7.fc40 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/[SECURITY] Fedora 38 Update: ruby-3.2.4-182.fc38 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/[SECURITY] [DLA 3858-1] ruby2.7 security update
https://lists.debian.org/debian-lts-announce/2024/09/msg00000.htmlFull Disclosure: APPLE-SA-09-15-2025-7 macOS Sonoma 14.8
http://seclists.org/fulldisclosure/2025/Sep/55Full Disclosure: APPLE-SA-09-15-2025-6 macOS Sequoia 15.7
http://seclists.org/fulldisclosure/2025/Sep/54Full Disclosure: APPLE-SA-09-15-2025-5 macOS Tahoe 26
http://seclists.org/fulldisclosure/2025/Sep/53CVE-2024-27280: Buffer overread vulnerability in StringIO | Ruby
https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/Vendor Advisories for CVE-2024-27280(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby3.1-doc (3.1.2-7ubuntu3.3) @ mantic | 2026-05-22 | ubuntu |
| ubuntu | ruby2.5-doc (2.5.1-1ubuntu1.16+esm5) @ bionic | 2026-05-22 | ubuntu |
| redhat | ruby:2.5-8100020240627152904.489197e6 | 2024-07-11 | redhat |
| redhat | ruby-0:3.0.7-162.el9_4 | 2024-06-11 | redhat |
| redhat | ruby:3.3-9040020240522171337.9 | 2024-06-06 | redhat |
| redhat | ruby:3.3-8100020240522151542.489197e6 | 2024-06-06 | redhat |
| redhat | ruby:3.1-9040020240503183840.9 | 2024-06-06 | redhat |
| redhat | ruby:3.1-8100020240510101534.489197e6 | 2024-06-03 | redhat |
| redhat | ruby:3.0-8100020240522072634.489197e6 | 2024-05-30 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| stringio | 0.0.1 ... 3.0.1 (7 versions) | 3.0.1.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2024:3500MODERATE2024-03-21
RHSA-2024:3500 — Moderate
- Red HatRHSA-2024:3546MODERATE2024-03-21
RHSA-2024:3546 — Moderate
- Red HatRHSA-2024:3668MODERATE2024-03-21
RHSA-2024:3668 — Moderate
- Red HatRHSA-2024:3670MODERATE2024-03-21
RHSA-2024:3670 — Moderate
- Red HatRHSA-2024:3671MODERATE2024-03-21
RHSA-2024:3671 — Moderate
- Red HatRHSA-2024:3838MODERATE2024-03-21
RHSA-2024:3838 — Moderate
- UbuntuUSN-6853-1MEDIUM
Ruby vulnerability
- UbuntuUSN-7734-1MEDIUM
Ruby vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 126 total refreshes for this CVE.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 06:41 UTCOSV refresh
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 13:26 UTCOSV refresh
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 20:39 UTCOSV refresh
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-120
- CVE-2010-10016EG 10.0CRITICAL
- CVE-2012-10035EG 10.0CRITICAL
- CVE-2009-0948EG 9.8CRITICAL
- CVE-2006-3100EG 9.8CRITICAL
- CVE-2009-5041EG 9.8CRITICAL
- CVE-2010-5333EG 9.8EPSS 97%CRITICAL
- CVE-2013-1331NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2013-0641NVD 7.8EG 9.0 KEVEPSS 98%HIGH
- CVE-2010-2572NVD 7.8EG 9.0 KEVEPSS 99%HIGH
- CVE-2007-5659NVD 7.8EG 9.0 KEVEPSS 100%HIGH
Frequently asked(5)
What is CVE-2024-27280?
When was CVE-2024-27280 disclosed?
Is CVE-2024-27280 actively exploited?
What is the CVSS score of CVE-2024-27280?
How do I remediate CVE-2024-27280?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-27280
Is Your Infrastructure Affected by CVE-2024-27280?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.