ruby: Fiddle:: Function.new heap buffer overflow
Published Jan 6, 2017
9.8
CRITICALCVSS 3.0
EPSS 5.19%
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.
Affected products
-
- Version 2.2.2StatusaffectedConstraints-
- Version 2.3.0 devStatusaffectedConstraints-
- Version
No data.
CloudForms Management Engine 5
rh-ruby22-ruby
Will not fix
CloudForms Management Engine 5
ruby-200-ruby
Will not fix
Red Hat Enterprise Linux 5
ruby
Not affected
Red Hat Enterprise Linux 6
ruby
Not affected
Red Hat Enterprise Linux 7
ruby
Will not fix
Red Hat Software Collections
rh-ruby22-ruby
Will not fix
Red Hat Software Collections
rh-ruby23-ruby
Will not fix
Red Hat Software Collections
ruby200-ruby
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5 | rh-ruby22-ruby | Will not fix | n/a |
| CloudForms Management Engine 5 | ruby-200-ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | ruby | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ruby | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby22-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby23-ruby | Will not fix | n/a |
| Red Hat Software Collections | ruby200-ruby | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.19% (0.05187) | 92.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.14% (0.05144) | 91.31th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.42% (0.00419) | 59.77th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.05% (0.01050) | 84.69th | v3 (v2023.03.01) |
| Apr 4, 2024 | 1.05% (0.01050) | 83.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.05% (0.01050) | 81.74th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
References (7)
- http://www.securityfocus.com/bid/91234 vdb-entryx_refsource_BID
- http://www.talosintelligence.com/reports/TALOS-2016-0034/ x_refsource_MISCExploitTechnical DescriptionThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-2339 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1412678 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2016-2339
- https://www.cve.org/CVERecord?id=CVE-2016-2339
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/91234 | vdb-entryx_refsource_BID | |
| http://www.talosintelligence.com/reports/TALOS-2016-0034/ | x_refsource_MISCExploitTechnical DescriptionThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2016-2339 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1412678 | Issue Tracking | |
| https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-2339 | ||
| https://www.cve.org/CVERecord?id=CVE-2016-2339 |
Change history (0)
No recorded changes yet.