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 Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade rubygem-psychUpgrade ruby-debuginfoUpgrade rubygemsUpgrade ruby-libsUpgrade rubygems-develUpgrade rubygem-jsonUpgrade rubygem-minitestUpgrade ruby-tcltkUpgrade ruby-docUpgrade rubygem-rdocUpgrade ruby-develUpgrade rubygem-io-consoleUpgrade ruby-irbUpgrade rubygem-bigdecimalUpgrade rubygem-rakeUpgrade ruby | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade ruby2.3 | Mar 27, 2020 | Mar 27, 2020 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Sep 29, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub