VYPR
Critical severity9.8NVD Advisory· Published Jan 6, 2017· Updated May 6, 2026

CVE-2016-2339

CVE-2016-2339

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

3
  • Ruby Lang/Ruby2 versions
    cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
  • Ruby/Rubyv5
    Range: 2.3.0 dev

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.