BreachSpiderVerified, not vibes

CVE-2008-2664 in Canonical Ubuntu Linux and 2 more products

High 7.8

The rb_str_format 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 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and ...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 2.07.8
EPSS4.3%
EPSS percentile92th
FixSee advisory

Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 6.06 7.04 7.10 8.04
Debian Debian Linux 4.0
Ruby-Lang Ruby > 1.8.5, < 1.8.5.231 ≤ 1.8.4 ≥ 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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The rb_str_format 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 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2725. 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 IDCVE-2008-2664
BreachSpider IDBS-2008-GLOBAL-329212-H
CVSS vectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Published2008-06-24
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-399: Resource Management Errors

Broad class covering failures in managing system resources such as memory, file handles, and connections.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2664). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The rb_str_format 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 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2725. 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 CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:C.

Questions

What is CVE-2008-2664?

This vulnerability was disclosed in 2008. A high severity vulnerability affects Canonical systems (CVE-2008-2664). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2008-2664?

CVE-2008-2664 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 4.3%.

Is CVE-2008-2664 actively exploited?

No confirmed active exploitation of CVE-2008-2664 as of 2026-09-25.

How do I remediate CVE-2008-2664?

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-2664?

CVE-2008-2664 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.