{"id":"CVE-2018-20574","aliases":["AZL-7007","DEBIAN-CVE-2018-20574","EUVD-2018-13128","GHSA-mj28-fjwp-xqh8","SUSE-SU-2022:1072-1","SUSE-SU-2022:1073-1","SUSE-SU-2022:1073-2","SUSE-SU-2023:1740-3","UBUNTU-CVE-2018-20574","openSUSE-SU-2022:1073-1"],"status":"published","title":"The SingleDocParser::HandleFlowMap function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote...","description":"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.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02525,"percentile":0.84978,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2018-12-28T16:00:00Z","modified":"2026-10-23T18:04:47Z","fixes":[{"ecosystem":"Azure Linux:2","package":"yaml-cpp","fixed_in":["0.6.2-6"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"yaml-cpp","fixed_in":["0.6.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yaml-cpp","fixed_in":["0.6.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yaml-cpp","fixed_in":["0.6.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2-6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-3.6.3"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Installer Updates 15 SP2","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.0","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.1","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Micro 5.2","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 7","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1","0.5.1-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-2","0.5.2-3","0.5.2-4ubuntu1~16.04.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"yaml-cpp0.3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-4ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yaml-cpp0.3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-4fakesync1","0.6.2-4ubuntu1"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"yaml-cpp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-4.5.1"}]}],"bundled":4}],"products":[{"vendor":"yaml-cpp_project","product":"yaml-cpp"}],"references":[{"url":"https://github.com/jbeder/yaml-cpp/issues/654","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"http://seclists.org/fulldisclosure/2024/Nov/0","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20574","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mj28-fjwp-xqh8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20574","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221072-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1121227","tags":["report"]},{"url":"https://bugzilla.suse.com/1121230","tags":["report"]},{"url":"https://bugzilla.suse.com/1122004","tags":["report"]},{"url":"https://bugzilla.suse.com/1122021","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20573","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20574","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-6285","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-6292","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221073-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221073-2/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20231740-3/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20574","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20574","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/U5JRSH3JEFDRI2LLKIUVXRRMZJAO5ZPH/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-20574","description":"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.","status":"published","published":"2018-12-28T16:00:00Z","modified":"2025-11-03T21:44:08.759Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2018-13128","description":"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.","status":"published","published":"2018-12-28T16:00:00Z","modified":"2025-11-03T21:44:08Z","updated_at":"2026-11-02T19:49:31.7352Z"}],"ghsa":[{"id":"GHSA-mj28-fjwp-xqh8","title":"The SingleDocParser::HandleFlowMap function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote...","description":"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.","status":"published","published":"2022-05-14T01:41:57Z","modified":"2025-11-04T00:30:29Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:04:25.970519Z"}],"nvd":[{"id":"CVE-2018-20574","description":"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.","status":"published","published":"2018-12-28T16:29:05.847Z","modified":"2026-06-17T01:53:06.823Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:52.056758Z"}],"osv":[{"id":"AZL-7007","title":"CVE-2018-20574 affecting package yaml-cpp for versions less than 0.6.2-6","description":"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.","status":"published","published":"2018-12-28T16:29:05Z","modified":"2026-04-21T04:36:18.250243Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:08.907584Z"},{"id":"CVE-2018-20574","description":"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.","status":"published","published":"2018-12-28T16:29:05.847Z","modified":"2026-10-20T10:50:06.57947316Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20574","description":"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.","status":"published","published":"2018-12-28T16:29:05.847Z","modified":"2026-10-23T18:04:47.914078347Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-20574","description":"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.","status":"published","published":"2018-12-28T16:29:00Z","modified":"2026-04-22T11:52:00.061022Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"openSUSE-SU-2022:1073-1","title":"Security update for yaml-cpp","description":"This update for yaml-cpp fixes the following issues:\n\n- CVE-2018-20573: Fixed remote DOS via a crafted YAML file in function Scanner:EnsureTokensInQueue (bsc#1121227).\n- CVE-2018-20574: Fixed remote DOS via a crafted YAML file in function SingleDocParser:HandleFlowMap (bsc#1121230).\n- CVE-2019-6285: Fixed remote DOS via a crafted YAML file in function SingleDocParser::HandleFlowSequence (bsc#1122004).\n- CVE-2019-6292: Fixed DOS by stack consumption in singledocparser.cpp (bsc#1122021).\n","status":"published","published":"2022-04-01T09:45:30Z","modified":"2026-02-04T02:35:14.017199Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"SUSE-SU-2022:1072-1","title":"Security update for yaml-cpp","description":"This update for yaml-cpp fixes the following issues:\n\n- CVE-2018-20573: Fixed remote DOS via a crafted YAML file in function Scanner:EnsureTokensInQueue (bsc#1121227).\n- CVE-2018-20574: Fixed remote DOS via a crafted YAML file in function SingleDocParser:HandleFlowMap (bsc#1121230).\n- CVE-2019-6285: Fixed remote DOS via a crafted YAML file in function SingleDocParser::HandleFlowSequence (bsc#1122004).\n- CVE-2019-6292: Fixed DOS by stack consumption in singledocparser.cpp (bsc#1122021).\n","status":"published","published":"2022-04-01T09:44:34Z","modified":"2026-02-04T03:38:29.971226Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"SUSE-SU-2022:1073-1","title":"Security update for yaml-cpp","description":"This update for yaml-cpp fixes the following issues:\n\n- CVE-2018-20573: Fixed remote DOS via a crafted YAML file in function Scanner:EnsureTokensInQueue (bsc#1121227).\n- CVE-2018-20574: Fixed remote DOS via a crafted YAML file in function SingleDocParser:HandleFlowMap (bsc#1121230).\n- CVE-2019-6285: Fixed remote DOS via a crafted YAML file in function SingleDocParser::HandleFlowSequence (bsc#1122004).\n- CVE-2019-6292: Fixed DOS by stack consumption in singledocparser.cpp (bsc#1122021).\n","status":"published","published":"2022-04-01T09:45:33Z","modified":"2026-02-04T03:55:52.687935Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"SUSE-SU-2022:1073-2","title":"Security update for yaml-cpp","description":"This update for yaml-cpp fixes the following issues:\n\n- CVE-2018-20573: Fixed remote DOS via a crafted YAML file in function Scanner:EnsureTokensInQueue (bsc#1121227).\n- CVE-2018-20574: Fixed remote DOS via a crafted YAML file in function SingleDocParser:HandleFlowMap (bsc#1121230).\n- CVE-2019-6285: Fixed remote DOS via a crafted YAML file in function SingleDocParser::HandleFlowSequence (bsc#1122004).\n- CVE-2019-6292: Fixed DOS by stack consumption in singledocparser.cpp (bsc#1122021).\n","status":"published","published":"2022-04-13T15:03:39Z","modified":"2026-02-04T03:03:17.481133Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"SUSE-SU-2023:1740-3","title":"Security update for yaml-cpp","description":"This update for yaml-cpp fixes the following issues:\n\n- CVE-2018-20573: Fixed remote DOS via a crafted YAML file in function Scanner:EnsureTokensInQueue (bsc#1121227).\n- CVE-2018-20574: Fixed remote DOS via a crafted YAML file in function SingleDocParser:HandleFlowMap (bsc#1121230).\n- CVE-2019-6285: Fixed remote DOS via a crafted YAML file in function SingleDocParser::HandleFlowSequence (bsc#1122004).\n- CVE-2019-6292: Fixed DOS by stack consumption in singledocparser.cpp (bsc#1122021).\n","status":"published","published":"2023-04-03T15:31:48Z","modified":"2025-05-02T04:29:55.951727Z","updated_at":"2026-11-02T15:53:52.350754Z"}]}}
