Back
CVE-2016-2339
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In…
Critical9.8EPSS 5.1%
- Published
- Updated
- Reserved
- Assigned by
- certcc
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.1% · top 7.6% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- heap overflow vulnerability
- CWE-119 (opens in a new tab)
Affected products
Ruby · Ruby
- affected 2.3.0 dev
- affected 2.2.2
References (3)
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 91234 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.talosintelligence.com/reports/TALOS-2016-0034/ (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .