All vulnerabilities

Servers and applications

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…

Severity
High 10.0
Published
24 Jun 2008
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
1.8.5.231, 1.8.6.230, 1.8.7.22, 1.9.0.2
Exploit chance
4.3% in the next 30 daysHigher than 91% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-189
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Every version up to 1.8.4
  • After 1.8.5 before 1.8.5.231
  • From 1.8.6 before 1.8.6.230
  • From 1.8.7 before 1.8.7.22
  • From 1.9.0 before 1.9.0.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-2662
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-2662