Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change.
Conclusion & alert: CVE-2008-2662 is rated High Risk (66.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 4.26%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 10.19% | 4.26% | -5.93% |
| 2 | 2026-06-03 | 6.53% | 10.19% | +3.66% |
| 3 | 2026-06-01 | — | 6.53% | — |
Full EPSS history (21 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 2.0 | HIGH |
|
10.0 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
gentoo
|
normal | CVE-2008-2662: 1 GLSA(s) (200812-17), 1 atom(s) (dev-lang/ruby); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2008-2662 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2008-2662 |
ubuntu
|
medium | CVE-2008-2662 medium priority: Ubuntu including 2 source packages (ruby1.8, ruby1.9), 24 status rows across 12 suites (dapper, feisty, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, upstream): released 10, not-affected 7, ignored 4, DNE 3. | https://ubuntu.com/security/CVE-2008-2662 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ruby-lang | ruby | <= 1.8.4 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | > 1.8.5, < 1.8.5.231 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 1.8.6, < 1.8.6.230 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 1.8.7, < 1.8.7.22 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 1.9.0, < 1.9.0.2 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| debian | debian_linux | 4.0 | cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 6.06 | cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 7.04 | cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 7.10 | cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* |
| canonical | ubuntu_linux | 8.04 | cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* |