CVE-2016-2339: Ruby-Lang Ruby
Critical severity, CVSS 9.8. EPSS: 5.1% chance of exploitation in the next 30 days.
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.
Affected products
- Ruby-Lang Ruby: version 2.2.2 only; version 2.3.0 only
Published 2017-01-06. Last modified 2026-06-17.