{"schemaVersion":3,"id":"CVE-2019-19334","aliases":["UBUNTU-CVE-2019-19334","DEBIAN-CVE-2019-19334"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2019-12-06T15:22:19.000Z","modified":"2024-08-05T02:16:46.899Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0387,"percentile":0.90081,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0387,"percentile":0.90081}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0387,"percentile":0.90081}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"cesnet","product":"libyang","name":"libyang","label":"libyang","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.11:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.11:r2","noFixRecorded":false,"fixedIn":null},{"text":"0.12:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.12:r2","noFixRecorded":false,"fixedIn":null},{"text":"0.13:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.13:r2","noFixRecorded":false,"fixedIn":null},{"text":"0.14:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.15:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.16:r1","noFixRecorded":false,"fixedIn":null},{"text":"0.16:r2","noFixRecorded":false,"fixedIn":null},{"text":"0.16:r3","noFixRecorded":false,"fixedIn":null},{"text":"1.0:r1","noFixRecorded":false,"fixedIn":null},{"text":"1.0:r2","noFixRecorded":false,"fixedIn":null},{"text":"1.0:r3","noFixRecorded":false,"fixedIn":null},{"text":"1.0:r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.11:r1 | 0.11:r2 | 0.12:r1 | 0.12:r2 | 0.13:r1 | 0.13:r2 | 0.14:r1 | 0.15:r1 | 0.16:r1 | 0.16:r2 | 0.16:r3 | 1.0:r1 | 1.0:r2 | 1.0:r3 | 1.0:r4","eol":null,"hubHref":"/vendor/cesnet/libyang"},{"vendor":"debian","product":"libyang","name":"libyang","label":"libyang","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libyang","purlType":"deb","versions":[{"text":"< 0.16.105-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.16.105-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libyang","name":"libyang","label":"libyang","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libyang","purlType":"deb","versions":[{"text":"< 0.16.105-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.16.105-2","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"31","eol":{"isEol":true,"eolDate":"2020-11-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"31","label":"31","eolFrom":"2020-11-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"red hat","product":"libyang","name":"libyang","label":"libyang","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"libyang all versions before 1.0-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"libyang all versions before 1.0-r5","eol":null,"hubHref":"/vendor/red_hat/libyang"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6","label":"github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4360","label":"access.redhat.com/errata/RHSA-2019:4360","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://ubuntu.com/security/CVE-2019-19334","label":"ubuntu.com/security/CVE-2019-19334","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19334","label":"www.cve.org/CVERecord?id=CVE-2019-19334","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19334","label":"security-tracker.debian.org/tracker/CVE-2019-19334","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2019:4360"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-12-06T15:22:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:16:46.899Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:30:36.342Z","stale":false,"partial":false}}