CVE-2008-2662
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.
Key facts
- CVSS score
- 10.0 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-189
- EPSS score
- 4.3% (91th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-2657)
- Published
- June 24, 2008
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-2657 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- debian / debian linux
- ruby-lang / ruby
References
- http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/(Third Party Advisory)
- http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html(Mailing List, Third Party Advisory)
- http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html(Third Party Advisory)
- http://secunia.com/advisories/30802(Third Party Advisory)
- http://secunia.com/advisories/30831(Third Party Advisory)
- http://secunia.com/advisories/30867(Third Party Advisory)
- http://secunia.com/advisories/30875(Third Party Advisory)
- http://secunia.com/advisories/30894(Third Party Advisory)
- http://secunia.com/advisories/31062(Third Party Advisory)
- http://secunia.com/advisories/31181(Third Party Advisory)
- http://secunia.com/advisories/31256(Third Party Advisory)
- http://secunia.com/advisories/31687(Third Party Advisory)
- http://secunia.com/advisories/33178(Third Party Advisory)
- http://security.gentoo.org/glsa/glsa-200812-17.xml(Third Party Advisory)
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562(Mailing List, Third Party Advisory)
- http://support.apple.com/kb/HT2163(Third Party Advisory)
- http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities(Third Party Advisory)
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206(Broken Link)
- http://www.debian.org/security/2008/dsa-1612(Third Party Advisory)
- http://www.debian.org/security/2008/dsa-1618(Third Party Advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:140(Third Party Advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141(Third Party Advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:142(Third Party Advisory)
- http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/(Third Party Advisory)
- http://www.redhat.com/support/errata/RHSA-2008-0561.html(Third Party Advisory)
- http://www.ruby-forum.com/topic/157034(Third Party Advisory)
- http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/(Patch, Vendor Advisory)
- http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html(Third Party Advisory)
- http://www.securityfocus.com/archive/1/493688/100/0/threaded(Third Party Advisory, VDB Entry)
- http://www.securityfocus.com/bid/29903(Third Party Advisory, VDB Entry)
- http://www.securitytracker.com/id?1020347(Third Party Advisory, VDB Entry)
- http://www.ubuntu.com/usn/usn-621-1(Third Party Advisory)
- http://www.vupen.com/english/advisories/2008/1907/references(Third Party Advisory)
- http://www.vupen.com/english/advisories/2008/1981/references(Third Party Advisory)
- http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html(Broken Link)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43345(Third Party Advisory, VDB Entry)
- https://issues.rpath.com/browse/RPL-2626(Broken Link)
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11601(Third Party Advisory)
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html(Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain