{"id":"DEBIAN-CVE-2021-28906","details":"In function read_yin_leaf() in libyang \u003c= v1.0.225, it doesn't check whether the value of retval-\u003eext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval-\u003eext[r]-\u003eflags that results in a crash.","modified":"2026-09-15T09:01:46.338662998Z","published":"2021-05-20T19:15:07.747Z","upstream":["CVE-2021-28906"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-28906"}],"affected":[{"package":{"name":"libyang","ecosystem":"Debian:13","purl":"pkg:deb/debian/libyang?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28906.json"}},{"package":{"name":"libyang","ecosystem":"Debian:14","purl":"pkg:deb/debian/libyang?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28906.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}