CVE-2009-1904
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent...
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
Exploit likelihood
What each source reports
NVD Score used
5.0
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
- Record
CVE-2009-1904- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
- Record
CVE-2009-1904- Updated
- 2026-11-02
EUVDEUVD-2009-1899 No score
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
- Record
EUVD-2009-1899- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-prwc-wj59-8vwr No score
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent...
The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
- Record
GHSA-prwc-wj59-8vwr- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby1.9Debian:4.0 From an advisory covering 2 CVEs |
before 1.9.0+20060609-1etch5, plus listed versions 1.9.0+20060609-11.9.0+20060609-1etch11.9.0+20060609-1etch21.9.0+20060609-1etch31.9.0+20060609-1etch4 |
1.9.0+20060609-1etch5 |
ruby1.8Debian:4.0 From an advisory covering 2 CVEs |
before 1.8.5-4etch5, plus listed versions 1.8.5-41.8.5-4etch11.8.5-4etch21.8.5-4etch31.8.5-4etch4 |
1.8.5-4etch5 |
ruby1.8Debian:5.0 From an advisory covering 2 CVEs |
before 1.8.7.72-3lenny1, plus listed versions 1.8.7.72-3 |
1.8.7.72-3lenny1 |
ruby1.9Debian:5.0 From an advisory covering 2 CVEs |
before 1.9.0.2-9lenny1, plus listed versions 1.9.0.2-9 |
1.9.0.2-9lenny1 |
irbRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-modeRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-develRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-modeRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
rubyRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-docsRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-irbRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-libsRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-rdocRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-riRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-tcltkRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
rubyRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-develRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-docsRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-irbRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-libsRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-modeRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-rdocRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-riRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-tcltkRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | NZKoz/bigdecimal-segfault-fix | 2009-06-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-1904 is a medium vulnerability (CVSS 5.0) in Ruby-lang Ruby, published June 11, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 12.8%, the 96th percentile. No source names a fixed version.
References
vupen.com/english/advisories/2009/1563
secunia.com/advisories/35937
secunia.com/advisories/35593
ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal
redmine.ruby-lang.org/issues/show/794
bugs.launchpad.net/bugs/cve/2009-1904
Show 41 moreShow less
bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689
redhat.com/support/errata/RHSA-2009-1140.html
mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html
groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source
securitytracker.com/id?1022371
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
secunia.com/advisories/35399
github.com/NZKoz/bigdecimal-segfault-fix/tree/master
weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby
ubuntu.com/usn/USN-805-1
redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
osvdb.org/55031
securityfocus.com/bid/35278
bugs.gentoo.org/show_bug.cgi?id=273213
secunia.com/advisories/37705
support.apple.com/kb/HT4077
secunia.com/advisories/35699
bugs.launchpad.net/bugs/385436
security.gentoo.org/glsa/glsa-200906-02.xml
mandriva.com/security/advisories?name=MDVSA-2009:160
ruby-forum.com/topic/189071
exchange.xforce.ibmcloud.com/vulnerabilities/51032
secunia.com/advisories/35527
slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805
nvd.nist.gov/vuln/detail/CVE-2009-1904
github.com/advisories/GHSA-prwc-wj59-8vwr
access.redhat.com/errata/RHSA-2009:1140
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=241191
bugzilla.redhat.com/show_bug.cgi?id=486183
bugzilla.redhat.com/show_bug.cgi?id=504958
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1140.json
access.redhat.com/security/cve/CVE-2007-1558
cve.org/CVERecord?id=CVE-2007-1558
nvd.nist.gov/vuln/detail/CVE-2007-1558
access.redhat.com/security/cve/CVE-2009-0642
cve.org/CVERecord?id=CVE-2009-0642
nvd.nist.gov/vuln/detail/CVE-2009-0642
access.redhat.com/security/cve/CVE-2009-1904
cve.org/CVERecord?id=CVE-2009-1904