{"id":"CVE-2019-19334","published":"2019-12-06T15:22:19Z","modified":"2024-08-05T02:16:46Z","title":"In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG…","vendor":"Red Hat","product":"libyang","tier":"tail","description":{"text":"In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type \"identityref\". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0387,"percentile":0.90446,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4360","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":18.09},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"libyang","versions":["libyang all versions before 1.0-r5"]}],"summary":{"text":"A stack-based buffer overflow in Red Hat's libyang, affecting versions before 1.0-r5, occurs when the library parses YANG files containing a leaf of type \"identityref\". Applications that use libyang to parse untrusted YANG files are exposed to this flaw, through which an attacker could cause a denial of service or possibly execute code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:28Z"},"euvd":{"id":"EUVD-2019-8955","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-libyang-cve-2019-19333","parents":[{"from":"CVE-2019-19333","to":"CVE-2019-19334","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/parser.c"],"commits":["https://github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d","https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6"],"basis":"shared function","functions":["ly_ctx"]},{"kind":"similar","provenance":"machine","score":0.92,"basis":"same product + CWE + description similarity"}]}]}}