Read the docs
TI-2016-02102 Aliases CVE-2016-2338GHSA-r46x-xjwr-8v2g

An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document…

Priority MEDIUM 50CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Will not fix Red Hat: no fix planned

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.04741 91st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Will not fix Red Hat: no fix planned

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*2.2.2Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*2.3.0Vulnerableruby
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
  • cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:* Versions 2.2.2 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:* Versions 2.3.0 Vulnerable ·ruby
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Not affected: 3 products
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-2338
  2. 2026-10-03 Alias added: GHSA-r46x-xjwr-8v2g

References

Sources