Medium
Security advisory
The SingleDocParser::HandleFlowSequence 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-6285
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:46 UTC · Revision 1
Source evidence
The SingleDocParser::HandleFlowSequence 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.
osv:CVE-2019-6285
Complete source record
{
"id": "c5a7ce65afb432711f9b4700afb738254af85d15a3e38cbdf9d25205a0ac002f",
"url": "https://osv.dev/vulnerability/CVE-2019-6285",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-6285",
"summary": "The SingleDocParser::HandleFlowSequence 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.",
"evidence": "osv:CVE-2019-6285",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-6285",
"aliases": [
"CVE-2019-6285"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jbeder/yaml-cpp",
"type": "GIT",
"events": [
{
"introduced": "562aefc114938e388457e6a531ed7b54d9dc1b62"
},
{
"last_affected": "562aefc114938e388457e6a531ed7b54d9dc1b62"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:yaml-cpp_project:yaml-cpp:0.6.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.6.2"
},
{
"last_affected": "0.6.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.6.2",
"yaml-cpp-0.6.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-6285.json"
}
}
],
"modified": "2026-10-20T10:51:40.540907032Z",
"provider": "osv",
"references": [
"https://github.com/jbeder/yaml-cpp/issues/660"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-6285",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382746,
"published_at": "2019-01-14T22:29:00.39+00:00"
}