CVE-2024-27280: stringio · Classic Buffer Overflow
Affects stringioSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 31 Oct 2026, 01:27 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.8 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsstringiopkg:gem/stringioOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions are available: StringIO 3.0.3, stringio 3.0.1.1 for Ruby 3.0, and stringio 3.0.1.2 for Ruby 3.1. Users should upgrade to these versions to remediate the vulnerability. Patch status is confirmed by the description. No additional mitigation steps are specified.
Description
CVE-2024-27280 is a critical buffer-overread vulnerability in the StringIO library versions 3.0.1 as used in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The flaw allows the ungetbyte and ungetc methods to read beyond the end of the string buffer, potentially exposing memory contents when StringIO.gets is called subsequently. Fixed versions include 3.0.3, stringio 3.0.1.1 for Ruby 3.0, and stringio 3.0.1.2 for Ruby 3.1.
References
- hackerone.com/reports/1399856 (opens in a new tab)
- ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20250502-0003/ (opens in a new tab)
- seclists.org/fulldisclosure/2025/Sep/55 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Sep/54 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Sep/53 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/09/msg00000.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/ (opens in a new tab)