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 rubygems-develUpgrade ruby-libsUpgrade rubygem-jsonUpgrade ruby-debuginfoUpgrade rubygem-minitestUpgrade rubygem-psychUpgrade rubygemsUpgrade rubygem-rdocUpgrade rubygem-bigdecimalUpgrade ruby-tcltkUpgrade rubyUpgrade rubygem-io-consoleUpgrade ruby-docUpgrade ruby-develUpgrade ruby-irbUpgrade rubygem-rake | 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