{"id":"CVE-2013-4164","url":"https://www.cyber-defence.io/tools/cve/CVE-2013-4164","generatedAt":"2026-11-05T07:20:26.631Z","title":"Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute…","description":"Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.","published":"2013-11-23T19:55:04.000Z","lastModified":"2026-06-16T23:56:44.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},"cwe":["CWE-119"],"affected":["ruby-lang/ruby"],"epss":{"score":0.34968,"percentile":0.98439,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 35.0%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html","source":"secalert@redhat.com"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html","source":"secalert@redhat.com"},{"url":"http://osvdb.org/100113","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1763.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1764.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1767.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0011.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0215.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/55787","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/57376","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2809","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2810","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/63873","source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-2035-1","source":"secalert@redhat.com"},{"url":"https://puppet.com/security/cve/cve-2013-4164","source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT6536","source":"secalert@redhat.com"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164","tags":["Exploit"],"source":"secalert@redhat.com"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released","source":"secalert@redhat.com"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-12/msg00009.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00027.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00028.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/100113","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1763.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1764.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1767.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0011.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0215.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/55787","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/57376","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2809","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2810","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/63873","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-2035-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://puppet.com/security/cve/cve-2013-4164","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT6536","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-4164","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}