CVE-2008-2726

Summary

CVECVE-2008-2726
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-06-24 19:41:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionInteger 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.

Risk And Classification

Primary CVSS: v2.0 7.8 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:C

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Complete

AV:N/AC:L/Au:N/C:N/I:N/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby All All All All
Application Ruby-lang Ruby All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Fedora update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Arbitrary code execution vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Patch, Vendor Advisory
rPath update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Third Party Advisory
Ruby 1.8.6-p230/1.8.7 broke your app? Ruby Enterprise Edition to the rescue! « Phusion Corporate Blog af854a3a-2127-422b-91ae-364da2661108 blog.phusion.nl Third Party Advisory
Ubuntu update for ruby1.8 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
Red Hat update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
About the security content of Security Update 2008-004 and Mac OS X 10.5.4 af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Riding Rails: Multiple Ruby security vulnerabilities af854a3a-2127-422b-91ae-364da2661108 weblog.rubyonrails.org Third Party Advisory
Support / Security / Advisories / / MDVSA-2008:141 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Ruby Bugs Let Users Deny Service and Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
[security-announce] SUSE Security Summary Report SUSE-SR:2008:017 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
[Fedora-security-commits] fedora-security/audit f10, 1.7, 1.8 f8, 1.225, af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Debian -- Security Information -- DSA-1618-1 ruby1.9 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Debian update for ruby1.9 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Ruby Multiple Array and String Handling Functions Multiple Arbitrary Code Execution Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Red Hat update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
June 2008 Ruby Security Advisory: A Summary af854a3a-2127-422b-91ae-364da2661108 www.rubyinside.com Third Party Advisory
Ruby: Multiple vulnerabilities — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Debian -- Security Information -- DSA-1612-1 ruby1.8 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
APPLE-SA-2008-06-30 Security Update 2008-004 and Mac OS X v10.5.4 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com Mailing List, Third Party Advisory
www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.matasano.com Third Party Advisory
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
ZSFA -- The Big Ruby Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.zedshaw.com Broken Link
Bug #241657 “Multiple vulnerabilities in Ruby may lead to a deni...” : Bugs : ruby1.8 package : Ubuntu af854a3a-2127-422b-91ae-364da2661108 bugs.launchpad.net Third Party Advisory
Support / Security / Advisories / / MDVSA-2008:142 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 slackware.com Third Party Advisory
USN-621-1: Ruby vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Third Party Advisory
Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix) - Ruby - Ruby-Forum af854a3a-2127-422b-91ae-364da2661108 www.ruby-forum.com Third Party Advisory
[SECURITY] Fedora 9 Update: ruby-1.8.6.230-1.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
issues.rpath.com/browse/RPL-2626 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com Broken Link
Debian update for ruby1.8 - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
wiki.rpath.com/wiki/Advisories:rPSA-2008-0206 af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com Broken Link
Support / Security / Advisories / / MDVSA-2008:140 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Slackware update for ruby - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
[ruby] Revision 17460 af854a3a-2127-422b-91ae-364da2661108 svn.ruby-lang.org Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report