Every CVESearch/Get API key

CVE-2008-2662

Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5...

10.0 High

CVE-2008-2662 is a high vulnerability (CVSS 10.0) in Ruby-lang Ruby, published June 24, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.26%, the 91st percentile. No source names a fixed version.

What does this mean?
Severity
10.0 HighCVSS 2.0, NVD
Exploit chance
4.26%EPSS, 91st percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

Description

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.

Exploit likelihood

4.26%Unchanged since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ruby1.8
Debian:4.0
From an advisory covering 6 CVEs
before 1.8.5-4etch2, plus listed versions
1.8.5-41.8.5-4etch1
1.8.5-4etch2
ruby1.9
Debian:4.0
From an advisory covering 6 CVEs
before 1.9.0+20060609-1etch2, plus listed versions
1.9.0+20060609-11.9.0+20060609-1etch1
1.9.0+20060609-1etch2
irb
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-debuginfo
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-devel
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-docs
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-libs
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-mode
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-tcltk
Red Hat:enterprise_linux:4::as
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
Show 64 moreShow less
Affected packages
PackageAffectedFixed
irb
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-debuginfo
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-devel
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-docs
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-libs
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-mode
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-tcltk
Red Hat:enterprise_linux:4::desktop
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
irb
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-debuginfo
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-devel
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-docs
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-libs
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-mode
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-tcltk
Red Hat:enterprise_linux:4::es
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
irb
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-debuginfo
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-devel
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-docs
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-libs
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-mode
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby-tcltk
Red Hat:enterprise_linux:4::ws
From an advisory covering 6 CVEs
before 0:1.8.1-7.el4_6.1
0:1.8.1-7.el4_6.1
ruby
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-mode
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-docs
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-irb
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-libs
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-rdoc
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-ri
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-tcltk
Red Hat:enterprise_linux:5::client
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-docs
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-irb
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-libs
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-mode
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-rdoc
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-ri
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby-tcltk
Red Hat:enterprise_linux:5::server
From an advisory covering 6 CVEs
before 0:1.8.5-5.el5_2.3
0:1.8.5-5.el5_2.3
ruby3.3
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-bundled-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-default-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-devel
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-doc
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.3-libs
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.3.10-23.1.hum1
0:3.3.10-23.1.hum1
ruby3.4
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-bundled-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-default-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-devel
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-doc
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby3.4-libs
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:3.4.8-31.1.hum1
0:3.4.8-31.1.hum1
ruby4.0
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-bundled-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-default-gems
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-devel
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-doc
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1
ruby4.0-libs
Red Hat:hummingbird:1
From an advisory covering 36 CVEs
before 0:4.0.0-33.3.hum1
0:4.0.0-33.3.hum1

What each source reports

NVD Score used10.0

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.

Record
CVE-2008-2662
CVSS 2.0
10.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-189
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2008-2662
Updated
2026-11-02
EUVDEUVD-2008-2657No score

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.

Record
EUVD-2008-2657
Updated
2026-11-03
GitHub AdvisoriesGHSA-6wwf-x53r-5qqqNo score

Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5...

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.

Record
GHSA-6wwf-x53r-5qqq
Updated
2026-11-02
OSVRHSA-2026:73057.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:7305
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-13
OSVRHSA-2026:73077.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:7307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-13
OSVRHSA-2026:88387.5

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:8838
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-13

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 9 references. The JSON record has them.

MoveEnter Open