VDB

CVE-2016-2339

CVE-2016-2339 PUBLISHED

Reported by certcc · Published January 6, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruby1.9.1Ubuntu:14.04:LTS1.9.3.484-2ubuntu1.3

Affected products

VendorProductVersions
RubyRuby2.3.0 dev, 2.2.2
RubyRuby2.2.2, 2.3.0

Timeline

  • Jan 6, 2017 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch
  • Mar 5, 2026 Security Advisory (2 in total, the first dated here)
  • Oct 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-2339
vulnetix vdb fixes CVE-2016-2339

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-2339/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›