Code executionin CVE-2013-4164.
Weaponized: a Metasploit exploit is public.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 12 Jun 2013CVE ID reserved by redhat.
- 22 Nov 2013Metasploit module: Ruby on Rails JSON Processor Floating Point Heap Overflow DoS.
- 23 Nov 2013Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- puppet.com x_refsource_CONFIRM
- archives.neohapsis.com vendor-advisory, x_refsource_APPLE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- archives.neohapsis.com vendor-advisory, x_refsource_APPLE
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.ruby-lang.org x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.ruby-lang.org x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- support.apple.com x_refsource_CONFIRM
- osvdb.org vdb-entry, x_refsource_OSVDB
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.ruby-lang.org x_refsource_CONFIRM
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- secunia.com third-party-advisory, x_refsource_SECUNIA
Patchminder. CVE-2013-4164: Code execution in CVE-2013-4164. https://patchminder.com/cve/cve-2013-4164/ (accessed 5 December 2026).