{"id":"ALPINE-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-11-03T06:32:27.888205670Z","published":"2021-05-20T19:15:07.747Z","upstream":["CVE-2021-28906"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-28906"}],"affected":[{"package":{"name":"libyang","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/libyang?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-28906.json"}},{"package":{"name":"libyang","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/libyang?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.215-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-28906.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}