CVE-2008-2726
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…
- 7.8HighCVSS base score
- 3.8%Exploitation in 30 daysEPSS · top 10% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 change.
Timeline
ID reserved
By redhat
- 8 days later
· 8 days later
Published
- 16 years later
· 16 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
- EPSS (exploitation in 30 days)
- 3.8% · top 10% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
43
- SUSE-SR:2008:017 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://support.apple.com/kb/HT2163 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 31090 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities (opens in a new tab)x_refsource_MISCx_transferred
- MDVSA-2008:141 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 30875 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-1981 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ruby-rbarysplice-begrlen-code-execution(43351) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- ADV-2008-1907 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- DSA-1618 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 31687 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30894 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31062 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31256 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20080626 rPSA-2008-0206-1 ruby (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/ (opens in a new tab)x_refsource_MISCx_transferred
- SSA:2008-179-01 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- APPLE-SA-2008-06-30 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 1020347 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html (opens in a new tab)x_refsource_MISCx_transferred
- [fedora-security-commits] 20080620 fedora-security/audit f10, 1.7, 1.8 f8, 1.225, 1.226 f9, 1.215, 1.216 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/241657 (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2008-5649 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- MDVSA-2008:140 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 30802 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30831 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:9959 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17460 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2008:0561 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://issues.rpath.com/browse/RPL-2626 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1612 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- GLSA-200812-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 33178 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 29903 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html (opens in a new tab)x_refsource_MISCx_transferred
- 30867 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:142 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.ruby-forum.com/topic/157034 (opens in a new tab)x_refsource_MISCx_transferred
- http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/ (opens in a new tab)x_refsource_MISCx_transferred
- USN-621-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 31181 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2008-2719 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2008-2726)Record last updated .