44

CVE-2016-2339

CRITICAL
CVSS 9.8
EPSS: 0.7%
Published: 06/01/2017
Modified: 06/05/2026
Exploit Prediction Score (EPSS)0.68% probability of exploitation (72th percentile)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor: ruby-lang
Product: ruby

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.

AI Threat Analysis
Pro+

Sign in to access AI-powered vulnerability analysis

AI Remediation Playbook
Pro+

Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.

Upgrade to Pro+

AI Attack Path AnalysisPro+

Visualize potential attack chains and lateral movement paths with AI-powered analysis.

AI Risk ForecastingPro+

Predict exploitation likelihood with AI-powered threat intelligence forecasting.

AI Compliance MappingPro+

Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.

Stay Protected with ThreatMonitor

Get instant alerts when new vulnerabilities affect your systems. Track CVE-2016-2339 and other ruby-lang CVEs with our free account.

Smart Alerts
Bookmark & Track
AI Analysis (Pro+)

Weakness Types (CWE)

Affected Products (2)

cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*