Live threats

All CVEs / Ruby-lang

CVE-2008-2376Ruby-lang Ruby

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jul 9, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial of service (crash) or possibly have unspecified other impact via a call to the Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE. NOTE: this issue exists because of an incomplete fix for other closely related integer overflows.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.6.230

Official sources

References

Links published by the sources. Open them with care.