CVE-2013-4164

Summary

CVECVE-2013-4164
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-11-23 19:55:03 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionHeap-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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS: 0.119580000 probability, percentile 0.937880000 (date 2026-04-29)

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby 1.8 All All All
Application Ruby-lang Ruby 1.9 All All All
Application Ruby-lang Ruby 1.9.1 All All All
Application Ruby-lang Ruby 1.9.2 All All All
Application Ruby-lang Ruby 1.9.3 All All All
Application Ruby-lang Ruby 2.0.0 All All All
Application Ruby-lang Ruby 2.1 preview1 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Ruby 1.9.3-p484 is released af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE-2013-4164 | Puppet af854a3a-2127-422b-91ae-364da2661108 puppet.com
openSUSE-SU-2013:1835-1: moderate: update for ruby19 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
[security-announce] SUSE-SU-2013:1897-1: critical: Security update for r af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
About the security content of OS X Server v4.0 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com
Ruby 2.0.0-p353 is released af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Patch
USN-2035-1: Ruby vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
openSUSE-SU-2013:1834-1: moderate: update for ruby20 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
NEOHAPSIS - Peace of Mind Through Integrity and Insight af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
osvdb.org/100113 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
Debian -- Security Information -- DSA-2810-1 ruby1.9.1 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Debian -- Security Information -- DSA-2809-1 ruby1.8 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Ruby Floating Point Parsing Heap Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
NEOHAPSIS - Peace of Mind Through Integrity and Insight af854a3a-2127-422b-91ae-364da2661108 archives.neohapsis.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA57376 - Red Hat update for cfme - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Heap Overflow in Floating Point Parsing (CVE-2013-4164) af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Exploit
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report