VULNERABILITY INTELLIGENCE

CVE-2016-2338

CVSS score9.8 CRITICAL
EPSS probability4.68%
CISA KEVNot currently listed
Published2022-09-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-787: Out-of-bounds Write

Primary references