Skip to content
OpenAdvisories
Critical CVE-2013-6393 EUVD-2020-0633GHSA-m75h-cghq-c8h5

Heap Based Buffer Overflow in libyaml

Published Feb 6, 2014 · Updated Aug 6, 2024 · Assigned by redhat

Description

The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libyaml 0.1.4-3 —
Debian 14 libyaml-libyaml-perl 0.41-4 —
Debian 13 libyaml 0.1.4-3 —
Debian 13 libyaml-libyaml-perl 0.41-4 —
Debian 12 libyaml 0.1.4-3 —
Debian 12 libyaml-libyaml-perl 0.41-4 —
Debian 7 libyaml 0.1.4-2+deb7u2 DSA-2850-1
Debian 7 libyaml-libyaml-perl 0.38-3+deb7u1 DSA-2870-1
Debian 6.0 libyaml 0.1.3-1+deb6u2 DSA-2850-1
Debian 6.0 libyaml-libyaml-perl 0.33-1+squeeze2 DSA-2870-1
ReleasePackageFixed inAdvisory
RHEL 1 ruby193-libyaml +1 0.1.4-5.1.el6 RHSA-2014:0355
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Common 6 libyaml +1 0.1.3-1.4.el6 RHSA-2014:0415
Red Hat OpenStack 4 libyaml +1 0.1.3-1.4.el6 RHSA-2014:0354
Red Hat OpenStack 3 libyaml +1 0.1.3-1.4.el6 RHSA-2014:0353
Red Hat OpenStack 3 ruby193-libyaml +1 0.1.4-5.1.el6 RHSA-2014:0364
ReleasePackageFixed inAdvisory
SLES 12 perl-YAML-LibYAML 0.38-10.1 SUSE-SU-2015:0953-2, SUSE-SU-2015:0953-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 perl-YAML-LibYAML 0.38-10.1 SUSE-SU-2015:0953-2, SUSE-SU-2015:0953-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libyaml 0.1.6-4.8 openSUSE-SU-2024:10029-1
openSUSE Tumbleweed perl-YAML-LibYAML 0.59-2.11 openSUSE-SU-2024:10520-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm libyaml < 0.2.3 0.2.3 GHSA-m75h-cghq-c8h5

Advisories 11

References