VYPR
Critical severity9.8NVD Advisory· Published Sep 29, 2022· Updated Jun 17, 2026

CVE-2016-2338

CVE-2016-2338

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

5
  • Ruby Lang/Ruby2 versions
    cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • Ruby/Psych::Emitter start_document functiondescription

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.