{"id":"CVE-2019-20395","aliases":["CVE-2019-20395"],"related":[],"kind":"vulnerability","state":"published","title":"A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs.","summary":"A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.","source":"cvelist"},{"lang":"es","text":"Un problema de consumo de pila está presente en libyang versiones anteriores a v1.0-r1, debido al tipo de unión autorreferencial que contiene leafrefs. Las aplicaciones que usan libyang para analizar archivos de entrada yang no confiables pueden bloquearse.","source":"nvd"}],"published":"2020-01-22T00:00:00.000Z","modified":"2026-06-17T02:30:21.480Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"0.11"},{"status":"affected","version":"0.11"},{"status":"affected","version":"0.12"},{"status":"affected","version":"0.12"},{"status":"affected","version":"0.13"},{"status":"affected","version":"0.13"},{"status":"affected","version":"0.14"},{"status":"affected","version":"0.15"},{"status":"affected","version":"0.16"},{"status":"affected","version":"0.16"},{"status":"affected","version":"0.16"}],"vendor":"cesnet","product":"libyang","cpe":"cpe:2.3:a:cesnet:libyang:0.11:r1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CESNET/libyang/issues/724","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793924","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-20395","url":"https://www.cve.org/CVERecord?id=CVE-2019-20395","licence":"CVE Terms of Use","modified":"2024-08-05T02:39:09.793Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-20395","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20395","licence":"Public domain","modified":"2026-06-17T02:30:21.480Z"}],"updatedAt":"2026-11-25T22:57:49.299Z","epss":{"score":0.01855,"percentile":0.79783,"date":"2026-12-01T12:00:22.000Z"}}