{"id":"UBUNTU-CVE-2017-5950","details":"The SingleDocParser::HandleNode function in yaml-cpp (aka LibYaml-C++) 0.5.3 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.","modified":"2025-10-24T04:46:10Z","published":"2017-04-03T05:59:00Z","upstream":["CVE-2017-5950"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-5950"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-5950"}],"affected":[{"package":{"name":"yaml-cpp","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp@0.5.1-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1","0.5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp-dev","binary_version":"0.5.1-1"},{"binary_name":"libyaml-cpp0.5","binary_version":"0.5.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}},{"package":{"name":"yaml-cpp","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp@0.5.2-4ubuntu1~16.04.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-2","0.5.2-3","0.5.2-4ubuntu1~16.04.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp-dev","binary_version":"0.5.2-4ubuntu1~16.04.4"},{"binary_name":"libyaml-cpp0.5v5","binary_version":"0.5.2-4ubuntu1~16.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}},{"package":{"name":"yaml-cpp0.3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp0.3@0.3.0-1.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp0.3-dev","binary_version":"0.3.0-1.2"},{"binary_name":"libyaml-cpp0.3v5","binary_version":"0.3.0-1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}},{"package":{"name":"yaml-cpp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp@0.5.2-4ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp-dev","binary_version":"0.5.2-4ubuntu1"},{"binary_name":"libyaml-cpp0.5v5","binary_version":"0.5.2-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}},{"package":{"name":"yaml-cpp0.3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp0.3@0.3.0-1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0-1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp0.3-dev","binary_version":"0.3.0-1.2"},{"binary_name":"libyaml-cpp0.3v5","binary_version":"0.3.0-1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}},{"package":{"name":"yaml-cpp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/yaml-cpp@0.6.2-4ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-4fakesync1","0.6.2-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyaml-cpp-dev","binary_version":"0.6.2-4ubuntu1"},{"binary_name":"libyaml-cpp0.6","binary_version":"0.6.2-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5950.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}