CVE catalog

CVE-2018-20574

yaml-cpp: CVE-2018-20574

[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 SingleDocParser::HandleFlowMap 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

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyaml-cppsourcesid0.6.3-1lowNot reported[918145]
Debianyaml-cppsourceforky0.6.3-1lowNot reported[918145]
Debianyaml-cppsourcetrixie0.6.3-1lowNot reported[918145]
Debianyaml-cppsourcebookworm0.6.3-1lowNot reported[918145]

[Debian bug #918145]

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