CVE-2016-2338
criticalpriority · attend · 51EPSS 0.047 · 92 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- SpiralBL0CK/CVE-2016-2338-ndayCVE-2016-2338 Use-after-free nday full exploitPoC · poc_in_github
affected products (4)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- http://www.talosintelligence.com/reports/TALOS-2016-0032/cnnvd
- https://cxsecurity.com/cveshow/CVE-2016-2338/cnnvd
- https://lists.debian.org/debian-lts-announce/2020/03/msg00032.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20221228-0005/cnnvd
- https://vigilance.fr/vulnerability/Ruby-buffer-overflow-via-Psych-Emitter-31878cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.1068/cnnvd
- https://www.ruby-lang.org/Patchcnnvd
- http://www.talosintelligence.com/reports/TALOS-2016-0032/enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan