HOMEVULNERABILITIESCVE-2008-2662
CRITICAL

CVE-2008-2662

CWE-189Published: June 24, 2008· Updated: Jun 16, 2026

10.0
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2008-2662 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected Vendors & Products

Canonical1 product(s)
ubuntu linux
Debian1 product(s)
debian linux
ruby-lang1 product(s)
ruby
Source: NVD CPE · 6 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (78)

Quick Facts

CVE IDCVE-2008-2662
CVSS Score10.0 / 10
SeverityCRITICAL
WeaknessCWE-189
CISA KEVNo
Affected3 vendor(s)
PublishedJun 24, 2008

Related CVEs (CWE-189)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2008-2662 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.