Skip to content
OpenAdvisories
Unscored CVE-2018-20573 EUVD-2018-13127GHSA-wff4-h782-3qx9

The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service (stack c…

Published Dec 28, 2018 · Updated Nov 3, 2025 · Assigned by mitre

Description

The Scanner::EnsureTokensInQueue function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.

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 yaml-cpp 0.6.3-1 —
Debian 13 yaml-cpp 0.6.3-1 —
Debian 12 yaml-cpp 0.6.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS yaml-cpp No fix yet —
Ubuntu 18.04 LTS yaml-cpp +1 No fix yet —
Ubuntu 16.04 LTS yaml-cpp +1 No fix yet —
Ubuntu 14.04 LTS yaml-cpp No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-1
SLES 15 SP2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2023:1740-3
SLES 12 SP5 yaml-cpp 0.5.3-3.6.3 SUSE-SU-2022:1072-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2023:1740-3
SLE Real Time 15 SP2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-1
SLE Micro 5.2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-2
SLE Micro 5.1 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-1
SLE Micro 5.0 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-1
SLE HPC 15 SP2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2023:1740-3
SUSE Linux Enterprise Installer Updates 15 SP2 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2022:1073-1
SUSE Enterprise Storage 7 yaml-cpp 0.6.1-4.5.1 SUSE-SU-2023:1740-3
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 yaml-cpp 0.6.1-4.5.1 openSUSE-SU-2022:1073-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) yaml-cpp 0.6.2-6 —

Advisories 6

References