Security mailing lists by PureSourceCode

CVE-2016-2339

CRITICAL 9.8CVSS 3.0

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.

Published
6 Jan 2017
Last modified
17 Jun 2026
Assigned by
cret@cert.org
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
= 2.2.2
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
= 2.3.0

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 6 Jan 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.