CVE-2011-0188Ruby-lang Ruby
Medium 6.8 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 2.0
- 6.8
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Mar 23, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-189
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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."
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≤ 1.9.2-p136 |
| ruby-lang | ruby | 1.9 |
| ruby-lang | ruby | 1.9 |
| ruby-lang | ruby | 1.9.0 |
| ruby-lang | ruby | 1.9.0 |
| ruby-lang | ruby | 1.9.0-0 |
| ruby-lang | ruby | 1.9.0-1 |
| ruby-lang | ruby | 1.9.0-2 |
| ruby-lang | ruby | 1.9.0-20060415 |
| ruby-lang | ruby | 1.9.0-20070709 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.2 |
| ruby-lang | ruby | 1.9.2 |
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8838 · Apr 21, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7305 · Apr 21, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7307 · Apr 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com Patch Vendor Advisory
- support.apple.com Patch
- svn.ruby-lang.org Patch Vendor Advisory
- www.mandriva.com
- www.mandriva.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.securitytracker.com
- bugzilla.redhat.com Patch