CVE-2008-2726 in Canonical Ubuntu Linux and 2 more products
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. ...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 6.06 7.04 7.10 8.04 |
| Debian | Debian Linux | 4.0 |
| Ruby-Lang | Ruby | ≤ 1.8.4 ≥ 1.8.5, < 1.8.5.231 ≥ 1.8.6, < 1.8.6.230 ≥ 1.8.7, < 1.8.7.22 ≥ 1.9.0, < 1.9.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-2726 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-021315-H |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| Published | 2008-06-24 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-189: CWE-189
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2726). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:C.
Questions
What is CVE-2008-2726?
This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2726). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2008-2726?
CVE-2008-2726 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 3.8%.
Is CVE-2008-2726 actively exploited?
No confirmed active exploitation of CVE-2008-2726 as of 2026-09-25.
How do I remediate CVE-2008-2726?
Priority: MEDIUM. Advisory: http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ PSIRT: [email protected]
What systems are affected by CVE-2008-2726?
CVE-2008-2726 affects Canonical Ubuntu Linux; Debian Debian Linux; Ruby-Lang Ruby.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.