
CVE catalog
CVE-2013-4164
ruby1.9.1 - heap overflow
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 34.97% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | fixed |
| Debian | ruby1.9.1 | 6.0 | 1.9.2.0-2 | vulnerable |
| Debian | ruby1.9.1 | 6.0 | 1.9.2.0-2+armhf | vulnerable |
| Debian | ruby1.9.1 | 6.0 | 1.9.2.0-2+deb6u2 | fixed |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u1 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.448-1ubuntu2 | Not reported | UBUNTU-CVE-2013-4164 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.343-1ubuntu1 | Not reported | UBUNTU-CVE-2013-4164 | Not reported |
| Debian | ruby1.9.1 | deb | 6.0 | 1.9.2.0-2+deb6u2 | Not reported | DSA-2810-1 | Not reported |
| Debian | ruby1.9.1 | deb | 7 | 1.9.3.194-8.1+deb7u2 | Not reported | DSA-2810-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed: