Ruby provides built-in support for arbitrary precision integer arithmetic.
For example:
42**13 -> 1265437718438866624512
BigDecimal provides similar support for very large or very accurate floating
point numbers. Decimal arithmetic is also useful for general calculation,
because it provides the correct answers people expect–whereas normal binary
floating point arithmetic often introduces subtle errors because of the
conversion between base 10 and base 2.
Provides
Requires
License
(Ruby OR BSD-2-Clause) AND dtoa
Changelog
* Fri Nov 20 2026 Tomas Juhasz <tjuhasz@redhat.com> - 4.0.10-37
- Rebase to Ruby 4.0.10.
Resolves: RHEL-312600
- Fix Heap buffer overflow in case conversion of strings (CVE-2026-132825).
Resolves: RHEL-312280
* Thu Oct 29 2026 Tomas Juhasz <tjuhasz@redhat.com> - 4.0.9-36
- Upgrade to Ruby 4.0.9.
Resolves: RHEL-313265
- Fix: integer overflow issue in regular expression compiler (CVE-2026-110264)
Resolves: RHEL-292083
- Fix: integer overflow issue in CI/CD regular expression compiler (CVE-2026-97229)
Resolves: RHEL-292116
- Fix: integer overflow issue in regular expression compiler (CVE-2026-93577)
Resolves: RHEL-292144
* Mon Sep 07 2026 Jarek Prokop <jprokop@redhat.com> - 4.0.6-35
- Fix resolv: do not register on-demand classes for unknown DNS
types and SvcParamKeys to prevent memory exhaustion
(CVE-2026-80212)
Resolves: RHEL-252034
* Thu Jul 23 2026 Jarek Prokop <jprokop@redhat.com> - 4.0.6-34
- Upgrade to Ruby 4.0.6.
Resolves: RHEL-208837
Resolves: RHEL-193669
* Wed Jun 10 2026 Tomas Juhasz <tjuhasz@redhat.com> - 4.0.3-33
- Fix Net::IMAP ResponseReader quadratic complexity vulnerability. (CVE-2026-42245)
Resolves: RHEL-181683
- Fix Net::IMAP STARTTLS stripping vulnerability. (CVE-2026-42246)
Resolves: RHEL-181776
- Fix Net::IMAP command injection vulnerability via unvalidated Symbol arguments. (CVE-2026-42258)
Resolves: RHEL-181807
* Wed Apr 29 2026 Tomas Juhasz <tjuhasz@redhat.com> - 4.0.3-32
- Upgrade to Ruby 4.0.3.
Resolves: RHEL-170932
- Fix ERB: Arbitrary code execution via deserialization bypass
(CVE-2026-41316)
Resolves: RHEL-171261
- Fix JSON: Denial of Service or Information Disclosure via format string injection
(CVE-2026-33210)
Resolves: RHEL-169965
* Thu Jan 15 2026 Jarek Prokop <jprokop@redhat.com> - 4.0.1-31
- Upgrade to Ruby 4.0.1.
Resolves: RHEL-142278
* Wed Nov 05 2025 Jun Aruga <jaruga@redhat.com> - 3.3.10-5
- Upgrade to Ruby 3.3.10.
Resolves: RHEL-106821
- Fix possible denial of service in resolv gem (CVE-2025-24294)
- Fix URI Credential Leakage Bypass previous fixes. (CVE-2025-61594)
- Fix REXML denial of service. (CVE-2025-58767)
Resolves: RHEL-126728
* Fri Apr 11 2025 Jarek Prokop <jprokop@redhat.com> - 3.3.8-4
- Upgrade to Ruby 3.3.8.
Resolves: RHEL-68631
- Fix Net::IMAP vulnerable to possible DoS by memory exhaustion. (CVE-2025-25186)
- Fix Denial of Service in CGI::Cookie.parse. (CVE-2025-27219)
Resolves: RHEL-86109
- Fix userinfo leakage in URI#join, URI#merge and URI#+. (CVE-2025-27221)
Files
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/8d76b50e6b3a4f5d6715b872e0a3806032e675
/usr/lib64/gems/ruby/bigdecimal-4.0.1
/usr/lib64/gems/ruby/bigdecimal-4.0.1/bigdecimal.so
/usr/lib64/gems/ruby/bigdecimal-4.0.1/gem.build_complete
/usr/share/gems/gems/bigdecimal-4.0.1
/usr/share/gems/gems/bigdecimal-4.0.1/LICENSE
/usr/share/gems/gems/bigdecimal-4.0.1/bigdecimal.gemspec
/usr/share/gems/gems/bigdecimal-4.0.1/lib
/usr/share/gems/gems/bigdecimal-4.0.1/lib/bigdecimal
/usr/share/gems/gems/bigdecimal-4.0.1/lib/bigdecimal.rb
/usr/share/gems/gems/bigdecimal-4.0.1/lib/bigdecimal/jacobian.rb
/usr/share/gems/gems/bigdecimal-4.0.1/lib/bigdecimal/ludcmp.rb
/usr/share/ge