---
title: "CVE-2011-0188\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2011-0188?format=md
keywords: index, follow
---

# CVE-2011-0188

Publication date 22 March 2011

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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."

[Read the notes from the security team](https://ubuntu.com/security/CVE-2011-0188?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ruby1.8 | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Fixed 1.8.7.302-2ubuntu0.1 |
| 10.10 maverick | Fixed 1.8.7.299-2ubuntu0.1 |
| 10.04 LTS lucid | Fixed 1.8.7.249-2ubuntu0.1 |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |
| ruby1.9 | 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Ignored end of life |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |
| ruby1.9.1 | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Ignored end of life |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2011-0188?format=md#patch-details)

## Notes

---

### [tyhicks](https://launchpad.net/~tyhicks)

Test case in comment #1 of RH tracker

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ruby1.8 | * Upstream:   <http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0188)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2011-0188)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2011-0188)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2011-0188)

### Related Ubuntu Security Notices (USN)

+ [USN-1377-1](https://usn.ubuntu.com/USN-1377-1)
+ Ruby vulnerabilities
+ 28 February 2012

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2011-0188>
