Numeric Errors Affecting ruby4.0 package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.94% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBY40-16079849
  • published16 Apr 2026
  • disclosed1 Mar 2011

Introduced: 1 Mar 2011

CVE-2011-0188  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 ruby4.0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby4.0 package and not the ruby4.0 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1