{"id":"CVE-2019-20394","aliases":["ALEA-2021:1906","DEBIAN-CVE-2019-20394","DLA-3572-1","EUVD-2019-10944","GHSA-pgmh-hmfg-8gwj","RHEA-2021:1906","UBUNTU-CVE-2019-20394"],"status":"published","title":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type...","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02814,"percentile":0.86654,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2020-01-22T00:00:00Z","modified":"2026-10-29T11:12:07Z","fixes":[{"ecosystem":"Debian:13","package":"libyang","fixed_in":["1.0.176-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libyang","fixed_in":["1.0.176-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:8","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Debian:13","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.176-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.176-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.105+really1.0-0+deb10u1"}]}],"versions":["0.16.105-1","0.16.105-1+deb10u1","0.16.105-2","0.16.105-3"],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libyang-cpp-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libyang-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libyang-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"python3-libyang-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.0.184-1.el8"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.105-1","0.16.105-2","0.16.105-3","0.16.105-3build1"]}],"products":[{"vendor":"cesnet","product":"libyang"}],"references":[{"url":"https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3","tags":["x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/CESNET/libyang/issues/769","tags":["x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6","tags":["x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793932","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20394","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pgmh-hmfg-8gwj"},{"url":"https://errata.almalinux.org/8/ALEA-2021-1906.html","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2019-20391","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20392","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20393","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20394","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20395","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20396","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20397","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-20398","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-20394","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHEA-2021:1906","tags":["advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1910046","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhea-2021_1906.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20391","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793934","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20391","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20391","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20392","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793922","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20392","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20392","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20393","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793930","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20393","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20393","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20394","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20394","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20395","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793924","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20395","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20395","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20396","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793929","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20396","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20396","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20397","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793928","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20397","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20397","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20398","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793935","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20398","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20398","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-20394","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-20394","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T00:00:00Z","modified":"2024-08-05T02:39:09.578Z","updated_at":"2026-11-02T14:20:17.431882Z"}],"euvd":[{"id":"EUVD-2019-10944","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T00:00:00Z","modified":"2024-08-05T02:39:09Z","updated_at":"2026-11-03T02:40:22.238276Z"}],"ghsa":[{"id":"GHSA-pgmh-hmfg-8gwj","title":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type...","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2022-05-24T17:07:07Z","modified":"2023-09-20T00:30:16Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:54:46.481792Z"}],"nvd":[{"id":"CVE-2019-20394","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T22:15:10.33Z","modified":"2026-06-17T02:30:21.353Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:05:42.416368Z"}],"osv":[{"id":"CVE-2019-20394","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T22:15:10.33Z","modified":"2026-10-29T11:12:07.641646798Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.010761Z"},{"id":"DEBIAN-CVE-2019-20394","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T22:15:10.33Z","modified":"2026-09-21T07:03:17.652574418Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"RHEA-2021:1906","title":"Red Hat Enhancement Advisory: libyang bug fix and enhancement update","status":"published","published":"2024-09-16T05:19:16Z","modified":"2025-11-22T12:15:36Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:58.636919Z"},{"id":"UBUNTU-CVE-2019-20394","description":"A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.","status":"published","published":"2020-01-22T22:15:00Z","modified":"2026-04-22T12:17:23.479844Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"},{"id":"ALEA-2021:1906","title":"libyang bug fix and enhancement update","description":"For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2021-05-18T06:22:25Z","modified":"2026-10-29T11:00:53.034754033Z","updated_at":"2026-11-02T15:27:46.318571Z"},{"id":"DLA-3572-1","title":"libyang - security update","status":"published","published":"2023-09-19T00:00:00Z","modified":"2026-03-09T01:20:10.087489Z","updated_at":"2026-11-02T15:46:11.734021Z"}]}}
