CVE-2024-27282: ruby Out-of-bounds Read
Vulnerability summary
CVE-2024-27282 is a medium (CVSS 6.6) Out-of-bounds Read vulnerability in ruby. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities.
Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 2Timeline
- 08-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- NVDNIST6.6MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.66% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3All versions (No fix recorded)
- ruby2.5< 2.5.1-1ubuntu1.16+esm5
- ruby2.7< 2.7.0-5ubuntu1.13
- ruby3.0< 3.0.2-7ubuntu2.6
Alpine1 product
- ruby< 3.1.5-r0 | < 3.2.4-r0 | < 3.3.1-r0
Debian1 product
- ruby3.1< 3.1.2-7+deb12u1
3 vendors · 8 products