ruby: memory corruption in BigDecimal on 64bit platforms
Published Mar 23, 2011
6.8
MEDIUMCVSS 2.0
EPSS 3.02%
Description
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."
Affected products
No data.
- ≤ 1.9.2-p136
- 1.9
- 1.9
- 1.9.0
- 1.9.0
- 1.9.0-0
- 1.9.0-1
- 1.9.0-2
- 1.9.0-20060415
- 1.9.0-20070709
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.1
- 1.9.2
- 1.9.2
Running on/with
- 10.5.8
- 10.6.0
- 10.6.1
- 10.6.2
- 10.6.3
- 10.6.4
- 10.6.5
- 10.6.6
- 10.5.8
- 10.6.0
- 10.6.1
- 10.6.2
- 10.6.3
- 10.6.4
- 10.6.5
- 10.6.6
No data.
Red Hat Enterprise Linux 4
ruby-0:1.8.1-16.el4
Fixed · RHSA-2011:0908
Red Hat Enterprise Linux 5
ruby-0:1.8.5-19.el5_6.1
Fixed · RHSA-2011:0909
Red Hat Enterprise Linux 6
ruby-0:1.8.7.299-7.el6_1.1
Fixed · RHSA-2011:0910
Red Hat Hardened Images
ruby3-3-main-3.3.10-23.1.hum1
Fixed · RHSA-2026:7305
Red Hat Hardened Images
ruby3-4-main-3.4.8-31.1.hum1
Fixed · RHSA-2026:7307
Red Hat Hardened Images
ruby4-0-main-4.0.0-33.3.hum1
Fixed · RHSA-2026:8838
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-16.el4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-19.el5_6.1 | Fixed | RHSA-2011:0909 |
| Red Hat Enterprise Linux 6 | ruby-0:1.8.7.299-7.el6_1.1 | Fixed | RHSA-2011:0910 |
| Red Hat Hardened Images | ruby3-3-main-3.3.10-23.1.hum1 | Fixed | RHSA-2026:7305 |
| Red Hat Hardened Images | ruby3-4-main-3.4.8-31.1.hum1 | Fixed | RHSA-2026:7307 |
| Red Hat Hardened Images | ruby4-0-main-4.0.0-33.3.hum1 | Fixed | RHSA-2026:8838 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.02% (0.03025) | 87.00th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.02% (0.03025) | 85.69th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.61% (0.02613) | 84.32th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.02% (0.06019) | 84.09th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.61% (0.02613) | 84.63th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.85% (0.02851) | 91.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.85% (0.02851) | 89.13th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.23% (0.04229) | 87.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.23% (0.04229) | 86.19th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.23% (0.04229) | 69.94th | v2 (v2022.01.01) |
References (13)
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html vendor-advisoryx_refsource_APPLEPatchVendor Advisory
- http://support.apple.com/kb/HT4581 x_refsource_CONFIRMPatch
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993 x_refsource_CONFIRMPatchVendor Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:097 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:098 vendor-advisoryx_refsource_MANDRIVA
- http://www.redhat.com/support/errata/RHSA-2011-0908.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2011-0909.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2011-0910.html vendor-advisoryx_refsource_REDHAT
- http://www.securitytracker.com/id?1025236 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2011-0188 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=682332 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2011-0188
- https://www.cve.org/CVERecord?id=CVE-2011-0188
Change history (0)
No recorded changes yet.