CVE-2013-4164

medium
Published 2013-11-23 · Modified 2026-04-29
CVSS v3
CVSS v2
6.8
VIR risk
6.8

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/55787

Application impact

VendorProductVersionsFixed
ruby ruby-langruby1.8
ruby ruby-langruby1.9
ruby ruby-langruby1.9.1
ruby ruby-langruby1.9.2
ruby ruby-langruby1.9.3
ruby ruby-langruby2.0.0
ruby ruby-langruby2.1

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.