CVE-2016-2338

ruby: heap buffer overflow in the Psych::Emitter start_document function

Published Feb 14, 2020 CVSS 3.1 · 9.8 Critical EPSS 4.7% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2158-1 ruby2.1 security update
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Aug 5, 2024, 11:24 PM
Reserved
Feb 12, 2016, 12:00 AM
Status
Modified
Published
Sep 29, 2022, 3:15 AM
Modified
Jun 17, 2026, 12:43 AM
Severity
Moderate
Public date
Sep 29, 2022, 12:00 AM