CVE & CISA-KEV Catalog

CVE-2008-2725

HIGHEPSS 88th pctl
7.8
CVSS v2
NVD

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, and 1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N" variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664. 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.

How to fix

Remediation Available
Ruby 3.0Windows application
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team
Ruby 3.1Windows application
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Ruby 3.2Windows application
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Ruby 3.2 with MSYS2Windows application
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Ruby 3.3Windows application
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team
Ruby 3.3 with MSYS2Windows application
Affected:1.8.6 1.8.6.230Fixed in:1.8.6.230RubyInstaller Team
Affected:1.8.5 1.8.5.231Fixed in:1.8.5.231RubyInstaller Team
Affected:1.8.7 1.8.7.22Fixed in:1.8.7.22RubyInstaller Team

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

3.70%probability of exploitation in 30 days
88thpercentile

Elevated risk: more likely to be exploited than 88% of all known CVEs.

References

Related Vulnerabilities

Other CWE-189 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-1538High10.099%--
CVE-2006-3747High7.696%-Fix
CVE-2007-0071High9.393%--
CVE-2015-3829High10.090%--
CVE-2015-3864High10.087%--
CVE-2015-1539High10.086%--
Embed a live status badge for CVE-2008-2725
CVE-2008-2725 severity badge

Markdown

[![CVE-2008-2725](https://tridentstack.com/cve/badge/CVE-2008-2725.svg)](https://tridentstack.com/cve/CVE-2008-2725)

HTML

<a href="https://tridentstack.com/cve/CVE-2008-2725"><img src="https://tridentstack.com/cve/badge/CVE-2008-2725.svg" alt="CVE-2008-2725"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-23.