CVE-2013-4164
mediumpriority · attend · 49EPSS 0.350 · 98 %ileexploit · functionalEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (8)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (50)
External citations — patches, advisories, analysis.
- http://osvdb.org/100113cnnvd
- http://secunia.com/advisories/55787cnnvd
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164cnnvd
- https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/Patchcnnvd
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-1-9-3-p484-is-releasedcnnvd
- https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-releasedcnnvd
- http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.htmlenisa_euvd
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan