Vulnerability record · CVE-2016-2339 · published 6 January 2017
CVE-2016-2339: Ruby-lang ruby memory buffer overflow vulnerability
Ruby Lang · Ruby
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.
Description
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/91234 | |
| http://www.talosintelligence.com/reports/TALOS-2016-0034/ | ExploitTechnical DescriptionThird Party AdvisoryVDB Entry |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | |
| http://www.securityfocus.com/bid/91234 | |
| http://www.talosintelligence.com/reports/TALOS-2016-0034/ | ExploitTechnical DescriptionThird Party AdvisoryVDB Entry |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html |
Track CVE-2016-2339 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2016-2339), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.