{"id":"UBUNTU-CVE-2019-19333","details":"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 \"bits\". 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.","modified":"2025-07-16T08:14:34.145436Z","published":"2019-12-06T16:15:00Z","withdrawn":"2025-07-18T16:45:28Z","upstream":["CVE-2019-19333"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19333"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19333"}],"affected":[{"package":{"name":"libyang","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libyang@0.16.105-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.105-2"}]}],"versions":["0.16.105-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.16.105-2","binary_name":"libyang-cpp-dev"},{"binary_version":"0.16.105-2","binary_name":"libyang-cpp0.16"},{"binary_version":"0.16.105-2","binary_name":"libyang-cpp0.16-dbgsym"},{"binary_version":"0.16.105-2","binary_name":"libyang-dev"},{"binary_version":"0.16.105-2","binary_name":"libyang0.16"},{"binary_version":"0.16.105-2","binary_name":"libyang0.16-dbgsym"},{"binary_version":"0.16.105-2","binary_name":"python3-yang"},{"binary_version":"0.16.105-2","binary_name":"python3-yang-dbg"},{"binary_version":"0.16.105-2","binary_name":"yang-tools"},{"binary_version":"0.16.105-2","binary_name":"yang-tools-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19333.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}