CVE-2016-2339

9.8 CRITICAL
Published: January 06, 2017 Modified: May 06, 2026
View on NVD

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 Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.talosintelligence.com/reports/TALOS-2016-0034/
Source: cret@cert.org
Exploit Technical Description Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/91234
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.talosintelligence.com/reports/TALOS-2016-0034/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Technical Description Third Party Advisory VDB Entry

6 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
5.1%
91th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ruby-lang