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.
                
            Metrics
Affected Vendors & Products
References
        History
                    Sat, 12 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | epss 
 | epss 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: certcc
Published: 2017-01-06T21:00:00
Updated: 2024-08-05T23:24:48.934Z
Reserved: 2016-02-12T00:00:00
Link: CVE-2016-2339
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Deferred
Published: 2017-01-06T21:59:00.493
Modified: 2025-04-20T01:37:25.860
Link: CVE-2016-2339
 Redhat
                        Redhat