CVE-2016-2339

ruby: Fiddle:: Function.new heap buffer overflow

Published Jan 6, 2017 CVSS 3.0 · 9.8 Critical EPSS 5.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1421-1 ruby2.1 security update
EUVD EUVD EUVD-2016-3423 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.
Ubuntu USN Ubuntu USN USN-3365-1 Ruby vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00404}

epss

{'score': 0.00703}

Weaknesses

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Aug 5, 2024, 11:24 PM
Reserved
Feb 12, 2016, 12:00 AM
Status
Modified
Published
Jan 6, 2017, 9:59 PM
Modified
Jun 17, 2026, 12:43 AM
Severity
Moderate
Public date
Jun 14, 2016, 12:00 AM