All vulnerabilities

Servers and applications

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 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.

Severity
Critical 9.8
Published
6 Jan 2017
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 2.2.2
  • Version 2.3.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2016-2339
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2016-2339