Security mailing lists by PureSourceCode

CVE-2016-2338

CRITICAL 9.8CVSS 3.1

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.

Published
29 Sep 2022
Last modified
17 Jun 2026
Assigned by
cret@cert.org
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
= 2.2.2
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
= 2.3.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.