{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2009-1904","published":"2009-06-11T21:30:00.217000Z","last_modified":"2026-06-16T23:08:19.730000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-189"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.6"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.12775,"percentile":0.9697,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2009-1904/","html_en":"/en/cve/CVE-2009-1904/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-1904","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-1904"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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.","affected":[],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","tags":["Patch"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=273213","tags":[]},{"url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","tags":["Patch"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","tags":[]},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","tags":[]},{"url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","tags":[]},{"url":"http://osvdb.org/55031","tags":[]},{"url":"http://redmine.ruby-lang.org/issues/show/794","tags":["Exploit","Patch"]},{"url":"http://secunia.com/advisories/35399","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/35527","tags":[]},{"url":"http://secunia.com/advisories/35593","tags":[]},{"url":"http://secunia.com/advisories/35699","tags":[]},{"url":"http://secunia.com/advisories/35937","tags":[]},{"url":"http://secunia.com/advisories/37705","tags":[]},{"url":"http://security.gentoo.org/glsa/glsa-200906-02.xml","tags":[]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805","tags":[]},{"url":"http://support.apple.com/kb/HT4077","tags":[]},{"url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","tags":["Patch"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","tags":[]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","tags":[]},{"url":"http://www.ruby-forum.com/topic/189071","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/35278","tags":[]},{"url":"http://www.securitytracker.com/id?1022371","tags":[]},{"url":"http://www.ubuntu.com/usn/USN-805-1","tags":[]},{"url":"http://www.vupen.com/english/advisories/2009/1563","tags":[]},{"url":"https://bugs.launchpad.net/bugs/385436","tags":[]},{"url":"https://bugs.launchpad.net/bugs/cve/2009-1904","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","tags":[]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","tags":[]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","tags":[]}]}}