All vulnerabilities

Servers and applications

CVE-2011-0188

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,…

Severity
Medium 6.8
Published
23 Mar 2011
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
3% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-189
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

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

From NVD.

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 1.9.2
  • Version 1.9.2-dev
  • Version 1.9.1--p429
  • Version 1.9.1--p376
All 21 release lines
  • Every version up to 1.9.2-p136
  • Version 1.9
  • Version 1.9.0-0
  • Version 1.9.0-1
  • Version 1.9.0-2
  • Version 1.9.0-20060415
  • Version 1.9.0-20070709
  • Version 1.9-r18423
  • Version 1.9.0-r18423
  • Version 1.9.1--preview_1
  • Version 1.9.1--preview_2
  • Version 1.9.1--rc1
  • Version 1.9.1--rc2
  • Version 1.9.1
  • Version 1.9.1--p0
  • Version 1.9.1--p129
  • Version 1.9.1--p243
  • Version 1.9.1--p376
  • Version 1.9.1--p429
  • Version 1.9.2-dev
  • Version 1.9.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-0188
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-0188