{"cve":"CVE-2024-27280","nvd":{"published":"2024-05-14T15:11:56.940","modified":"2026-06-17T07:19:33.770","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-120"],"references":["https://hackerone.com/reports/1399856","https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/","http://seclists.org/fulldisclosure/2025/Sep/53","http://seclists.org/fulldisclosure/2025/Sep/54","http://seclists.org/fulldisclosure/2025/Sep/55"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:49:23.840078609+00:00"},"epss":{"cve":"CVE-2024-27280","score":0.02364,"percentile":0.83798,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v5h6-c2hv-hv3r","url":"https://osv.dev/vulnerability/GHSA-v5h6-c2hv-hv3r","summary":"StringIO buffer overread vulnerability","modified":"2026-09-10T03:50:10.968189140Z","packages":[{"ecosystem":"RubyGems","name":"stringio","purl":"pkg:gem/stringio","ranges":["<3.0.1.1"],"fixed":["3.0.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}