Back
CVE-2013-4164
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…
Medium6.8EPSS 35.0%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 35.0% · top 1.6% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (22)
- https://puppet.com/security/cve/cve-2013-4164 (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2014-10-16-3 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- openSUSE-SU-2013:1835 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-2035-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- APPLE-SA-2014-04-22-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- RHSA-2014:0215 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- SUSE-SU-2013:1897 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2013:1763 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2013:1764 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released (opens in a new tab)x_refsource_CONFIRMx_transferred
- 63873 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2013:1767 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2014:0011 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2013:1834 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://support.apple.com/kb/HT6536 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 100113 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- DSA-2810 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 57376 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-released (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-2809 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 55787 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2013-4164)Record last updated .