Skip to content
Fencer Vulns
high 7.5

CVE-2008-2376 json

Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial…

published 2008-07-09 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-2371

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.6%
EPSS 3.6% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • ruby RHEL 2.1 1.6.4-6.el2
  • ruby RHEL 3 1.6.8-12.el3
  • irb RHEL 2.1 1.6.4-6.el2
  • irb RHEL 3 1.6.8-12.el3
  • ruby-libs RHEL 2.1 1.6.4-6.el2
  • ruby-libs RHEL 3 1.6.8-12.el3
  • ruby-mode RHEL 3 1.6.8-12.el3
  • ruby-tcltk RHEL 2.1 1.6.4-6.el2

red hat advisories RHSA-2008:0562RHSA-2008:0561

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2008-2376 updated

ruby: integer overflows in rb_ary_fill() / Array#fill

  • Red Hat Desktop version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3
    fixed: vendor fix RHSA-2008:0562
  • Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-5.el5_2.3, ruby-ri 1.8.5-5.el5_2.3, ruby-irb 1.8.5-5.el5_2.3, ruby-libs 1.8.5-5.el5_2.3, ruby-mode 1.8.5-5.el5_2.3, ruby-rdoc 1.8.5-5.el5_2.3, +1 more
    fixed: vendor fix RHSA-2008:0561
  • Red Hat Enterprise Linux AS (Advanced Server) version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux AS version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3
    fixed: vendor fix RHSA-2008:0562
  • Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.el4_6.1, ruby 1.8.1-7.el4_6.1, ruby-libs 1.8.1-7.el4_6.1, ruby-mode 1.8.1-7.el4_6.1, ruby-tcltk 1.8.1-7.el4_6.1 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-5.el5_2.3, ruby-ri 1.8.5-5.el5_2.3, ruby-irb 1.8.5-5.el5_2.3, ruby-libs 1.8.5-5.el5_2.3, ruby-mode 1.8.5-5.el5_2.3, ruby-rdoc 1.8.5-5.el5_2.3, +1 more Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.el4_6.1, ruby 1.8.1-7.el4_6.1, ruby-libs 1.8.1-7.el4_6.1, ruby-mode 1.8.1-7.el4_6.1, ruby-tcltk 1.8.1-7.el4_6.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby 1.8.5-5.el5_2.3, ruby-ri 1.8.5-5.el5_2.3, ruby-irb 1.8.5-5.el5_2.3, ruby-libs 1.8.5-5.el5_2.3, ruby-mode 1.8.5-5.el5_2.3, ruby-rdoc 1.8.5-5.el5_2.3, +1 more
    fixed: vendor fix RHSA-2008:0561
  • Red Hat Enterprise Linux ES version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux ES version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3
    fixed: vendor fix RHSA-2008:0562
  • Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.el4_6.1, ruby 1.8.1-7.el4_6.1, ruby-libs 1.8.1-7.el4_6.1, ruby-mode 1.8.1-7.el4_6.1, ruby-tcltk 1.8.1-7.el4_6.1
    fixed: vendor fix RHSA-2008:0561
  • Red Hat Enterprise Linux WS version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux WS version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3
    fixed: vendor fix RHSA-2008:0562
  • Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.el4_6.1, ruby 1.8.1-7.el4_6.1, ruby-libs 1.8.1-7.el4_6.1, ruby-mode 1.8.1-7.el4_6.1, ruby-tcltk 1.8.1-7.el4_6.1
    fixed: vendor fix RHSA-2008:0561

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.60% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.