CVE-2024-27282: Ruby · Out-of-bounds Read
Source GCVE Database
Not known to be exploited · CVSS 6.6 Medium · fixed in 3.3.1 : update ruby when convenient.
Data as of 3 Nov 2026, 17:21 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 6.6 |
|---|
- Patch
- Available – fixed in 3.3.1, 3.2.4, 3.1.5 +1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:LExploitation 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 3 Nov 2026.
What to do
Upgrade ruby to 3.3.1, 3.2.4, 3.1.5 or 3.0.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsrubypkg:gem/rubyOther 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
Upgrade Ruby to one of the fixed versions: 3.0.7, 3.1.5, 3.2.4, or 3.3.1. Applying these official fixes will remediate the vulnerability. No other mitigation or workaround is indicated.
Description
CVE-2024-27282 is a vulnerability in Ruby versions 3.0.0 through 3.3.0 where attacker-supplied data to the Ruby regex compiler can lead to arbitrary heap data disclosure. This includes sensitive information such as pointers and strings. The issue is fixed in Ruby versions 3.0.7, 3.1.5, 3.2.4, and 3.3.1.
References
- nvd.nist.gov/vuln/detail/CVE-2024-27282 (opens in a new tab)
- hackerone.com/reports/2122624 (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)
- security.netapp.com/advisory/ntap-20241011-0007 (opens in a new tab)
- ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282 (opens in a new tab)