CVE-2011-0188 json
The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and…
published 2011-03-23 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-0214
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large BigDecimal value within a 64-bit process, related to an "integer truncation issue."
Patch / fix
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2011:0910RHSA-2011:0909RHSA-2011:0908
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-2011-0188 updated cvss 5.1
ruby: memory corruption in BigDecimal on 64bit platforms
-
Red Hat Enterprise Linux (v. 5.6.z server) ruby 1.8.5-19.el5_6.1, ruby-ri 1.8.5-19.el5_6.1, ruby-irb 1.8.5-19.el5_6.1, ruby-libs 1.8.5-19.el5_6.1, ruby-mode 1.8.5-19.el5_6.1, ruby-rdoc 1.8.5-19.el5_6.1, +1 morefixed: vendor fix RHSA-2011:0909
-
Red Hat Enterprise Linux AS version 4 irb 1.8.1-16.el4, ruby 1.8.1-16.el4, ruby-libs 1.8.1-16.el4, ruby-mode 1.8.1-16.el4, ruby-tcltk 1.8.1-16.el4 Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-16.el4, ruby 1.8.1-16.el4, ruby-libs 1.8.1-16.el4, ruby-mode 1.8.1-16.el4, ruby-tcltk 1.8.1-16.el4 Red Hat Enterprise Linux ES version 4 irb 1.8.1-16.el4, ruby 1.8.1-16.el4, ruby-libs 1.8.1-16.el4, ruby-mode 1.8.1-16.el4, ruby-tcltk 1.8.1-16.el4fixed: vendor fix RHSA-2011:0908
-
Red Hat Enterprise Linux Server (v. 6) ruby 1.8.7.299-7.el6_1.1, ruby-ri 1.8.7.299-7.el6_1.1, ruby-irb 1.8.7.299-7.el6_1.1, ruby-libs 1.8.7.299-7.el6_1.1, ruby-rdoc 1.8.7.299-7.el6_1.1, ruby-tcltk 1.8.7.299-7.el6_1.1 Red Hat Enterprise Linux Server Optional (v. 6) ruby 1.8.7.299-7.el6_1.1, ruby-ri 1.8.7.299-7.el6_1.1, ruby-irb 1.8.7.299-7.el6_1.1, ruby-libs 1.8.7.299-7.el6_1.1, ruby-rdoc 1.8.7.299-7.el6_1.1, ruby-tcltk 1.8.7.299-7.el6_1.1fixed: vendor fix RHSA-2011:0910
-
Red Hat Enterprise Linux WS version 4 irb 1.8.1-16.el4, ruby 1.8.1-16.el4, ruby-libs 1.8.1-16.el4, ruby-mode 1.8.1-16.el4, ruby-tcltk 1.8.1-16.el4fixed: vendor fix RHSA-2011:0908
-
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-default-gems 3.4.8-31.1.hum1, ruby4.0-default-gems 4.0.0-33.3.hum1, ruby3.3-default-gems 3.3.10-23.1.hum1fixed: vendor fix RHSA-2026:7305
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.02% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
lists.apple.com
/archives/security-announce/2011/Mar/msg00006.html
vendor-advisory, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=682332
patch
-
svn.ruby-lang.org
/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993
patch, vendor-advisory
-
support.apple.com
/kb/HT4581
patch
-
redhat.com
/support/errata/RHSA-2011-0910.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:098
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0909.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-0908.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:097
vendor-advisory
-
securitytracker.com
/id?1025236
vdb-entry
Sources
- CVE List CVE-2011-0188
- NVD CVE-2011-0188
Fencer Intel 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.