Skip to content

CVE-2016-2339 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 ma...

CriticalCVSS 9.8 EPSS 5.1%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
ruby-lang ruby = 2.2.2 No fix listed
ruby-lang ruby = 2.3.0 No fix listed
Ruby = 2.3.0 dev No fix listed
Ruby = 2.2.2 No fix listed

References