CVE-2016-2338

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.

Score
CVSS 3.1 9.8 Critical
Status
Modified - cret@cert.org
Published
2022-09-29
Last modified
2024-08-05
Weaknesses
CWE-787

Affected products

References