Security mailing lists by PureSourceCode

CVE-2008-2725

HIGH 7.8CVSS 2.0

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.

Published
24 Jun 2008
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-189
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
<= 1.8.4
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 1.8.5, < 1.8.5.231 1.8.5.231
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 1.8.6, < 1.8.6.230 1.8.6.230
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 1.8.7, < 1.8.7.22 1.8.7.22
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
= 4.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
= 6.06
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
= 7.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
= 7.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:*
= 8.04

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 24 Jun 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.