CVE catalog

CVE-2018-20573

yaml-cpp: CVE-2018-20573

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
2.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianyaml-cppsid0.9.0+dfsg-10fixed
Debianyaml-cppforky0.9.0+dfsg-9fixed
Debianyaml-cpptrixie0.8.0+dfsg-7fixed
Debianyaml-cppbookworm0.7.0+dfsg-8fixed
Ubuntuyaml-cpp14.040.3.0-1vulnerable
Ubuntuyaml-cpp14.040.5.1-1vulnerable
Ubuntuyaml-cpp16.040.5.2-2vulnerable
Ubuntuyaml-cpp16.040.5.2-3vulnerable
Ubuntuyaml-cpp16.040.5.2-4ubuntu1~16.04.4vulnerable
Ubuntuyaml-cpp0.316.040.3.0-1.2vulnerable
Ubuntuyaml-cpp18.040.5.2-4ubuntu1vulnerable
Ubuntuyaml-cpp0.318.040.3.0-1.2vulnerable
Ubuntuyaml-cpp20.040.6.2-4fakesync1vulnerable
Ubuntuyaml-cpp20.040.6.2-4ubuntu1vulnerable
Suseyaml-cpplinux enterprise installer updates 15 sp20.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise module for basesystem 15 sp30.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise module for desktop applications 15 sp30.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise real time 15 sp20.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise micro 5.00.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise micro 5.10.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise workstation extension 12 sp50.5.3-3.6.3fixed
Suseyaml-cpplinux enterprise micro 5.20.6.1-4.5.1fixed
Opensuseyaml-cppleap 15.30.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise high performance computing 15 sp2-ltss0.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise server 15 sp2-ltss0.6.1-4.5.1fixed
Suseyaml-cpplinux enterprise server for sap applications 15 sp20.6.1-4.5.1fixed
Suseyaml-cppenterprise storage 70.6.1-4.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyaml-cppsourcesid0.6.3-1lowNot reported[918147]
Debianyaml-cppsourceforky0.6.3-1lowNot reported[918147]
Debianyaml-cppsourcetrixie0.6.3-1lowNot reported[918147]
Debianyaml-cppsourcebookworm0.6.3-1lowNot reported[918147]
Suseyaml-cpprpmlinux enterprise installer updates 15 sp20.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise module for basesystem 15 sp30.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise module for desktop applications 15 sp30.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise real time 15 sp20.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise micro 5.00.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise micro 5.10.6.1-4.5.1Not reportedSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise workstation extension 12 sp50.5.3-3.6.3Not reportedSUSE-SU-2022:1072-1Not reported
Suseyaml-cpprpmlinux enterprise micro 5.20.6.1-4.5.1Not reportedSUSE-SU-2022:1073-2Not reported
Opensuseyaml-cpprpmleap 15.30.6.1-4.5.1Not reportedOPENSUSE-SU-2022:1073-1Not reported
Suseyaml-cpprpmlinux enterprise high performance computing 15 sp2-ltss0.6.1-4.5.1Not reportedSUSE-SU-2023:1740-3Not reported
Suseyaml-cpprpmlinux enterprise server 15 sp2-ltss0.6.1-4.5.1Not reportedSUSE-SU-2023:1740-3Not reported
Suseyaml-cpprpmlinux enterprise server for sap applications 15 sp20.6.1-4.5.1Not reportedSUSE-SU-2023:1740-3Not reported
Suseyaml-cpprpmenterprise storage 70.6.1-4.5.1Not reportedSUSE-SU-2023:1740-3Not reported

[Debian bug #918147]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [yaml-cpp]

    Details (2)
    • 0.7.0+dfsg-8+b1 · amd64 · bookworm

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · bookworm; dsa · yaml-cpp · debian · 12

    • 0.7.0+dfsg-8+b1 · arm64 · bookworm

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · bookworm; dsa · yaml-cpp · debian · 12

  • Source package: [yaml-cpp]

    Details (2)
    • 0.7.0+dfsg-8+b1 · amd64 · bookworm

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · bookworm; dsa · yaml-cpp · debian · 12

    • 0.7.0+dfsg-8+b1 · arm64 · bookworm

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · bookworm; dsa · yaml-cpp · debian · 12

[Debian 13 (Trixie)]

  • Source package: [yaml-cpp]

    Details (2)
    • 0.8.0+dfsg-7 · amd64 · trixie

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · 13

    • 0.8.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · 13

  • Source package: [yaml-cpp]

    Details (2)
    • 0.8.0+dfsg-7 · amd64 · trixie

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · 13

    • 0.8.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 0.6.3-1

      dsa · yaml-cpp · debian · 13

Observed:

References