CVE-2016-2338
CRITICALRuby - Out-of-Bounds Write
Title source: ruleDescription
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.
Exploits (1)
Scores
CVSS v3
9.8
EPSS
0.1346
EPSS Percentile
94.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (3)
debian/debian_linux
8.0
ruby-lang/ruby
2.2.2
ruby-lang/ruby
2.3.0
Published
Sep 29, 2022
Tracked Since
Feb 18, 2026