CVE-2008-2726Integer Overflow or Wraparound in Ruby

Severity
7.8HIGHNVD
EPSS
2.8%
top 13.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 24
Latest updateMay 1

Description

Integer overflow in the (1) rb_ary_splice 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; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption, aka the "beg + rlen" issue. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. The CVE description should be regarded as authoritative, although it is likely to c

CVSS vector

AV:N/AC:L/C:N/I:N/A:CExploitability: 10.0 | Impact: 6.9

Affected Packages1 packages

NVDruby-lang/ruby1.8.51.8.5.231+4

Also affects: Debian Linux 4.0, Ubuntu Linux 6.06, 7.04, 7.10, 8.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-v2mw-g73g-923h: Integer overflow in the (1) rb_ary_splice function in Ruby 12022-05-01
CVEList
CVE-2008-2726: Integer overflow in the (1) rb_ary_splice function in Ruby 12008-06-24

📋Vendor Advisories

2
Ubuntu
Ruby vulnerabilities2008-06-26
Red Hat
ruby: integer overflow in rb_ary_splice/update/replace() - beg + rlen2008-06-20

💬Community

2
Bugzilla
CVE-2008-2726 ruby: integer overflow in rb_ary_splice/update/replace() - beg + rlen2008-06-17
Bugzilla
CVE-2008-2728 ruby: integer overflow in rb_ary_replace() (ruby-1.6.x) - beg + rlen2008-06-17
CVE-2008-2726 — Integer Overflow or Wraparound in Ruby | cvebase