CVEvulnerability
CVE-2016-2338
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-09-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
Description
An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.
Affected configurations
• ruby-lang ruby 2.2.2
• ruby-lang ruby 2.3.0
• debian debian linux 8.0
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- http://www.talosintelligence.com/reports/TALOS-2016-0032/ Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221228-0005/ Third Party Advisory
- http://www.talosintelligence.com/reports/TALOS-2016-0032/ Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221228-0005/ Third Party Advisory