CVE-2016-2339: ruby-lang ruby
Vulnerability summary
CVE-2016-2339 is a critical (CVSS 9.8) vulnerability in ruby-lang ruby. EPSS estimates a 5.14% chance of exploitation in the next 30 days, higher than 92.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 06-01-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
5.14%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 5.14% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (talosintelligence.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse2 products
- ruby19&distro=SUSE Studio Onsite 1.3< 1.9.3.p392-0.26.1
- ruby19&distro=SUSE Studio Onsite Runner 1.3< 1.9.3.p392-0.26.1
Ubuntu2 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.3
- ruby2.0< 2.0.0.484-1ubuntu2.4
Ruby1 product
- ruby2.3.0 dev | 2.2.2
Ruby-lang1 product
- rubyEOL2.2.2 | 2.3.0
4 vendors · 6 products
References
10 links- www.talosintelligence.com/reports/TALOS-2016-0034/X Refsource MISCExploitTechnical DescriptionThird Party AdvisoryVDB EntryREPORT
- bugzilla.suse.com/986630REPORT