{"id":"CVE-2021-28902","details":"In function read_yin_container() 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-04-10T04:31:51.043099Z","published":"2021-05-20T19:15:07.590Z","related":["SUSE-SU-2022:3245-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-54"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/issues/1454"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cesnet/libyang","events":[{"introduced":"0"},{"last_affected":"8e9f87949974c7b2c6dc5e830c0e78e4160fbc50"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.0.225"}]}}],"versions":["v0.11-r1","v0.11-r2","v0.12-r1","v0.12-r2","v0.13-r2","v0.14-r1","v0.15-r1","v0.16-r1","v0.16-r2","v1.0-r1","v1.0-r2","v1.0-r3","v1.0-r4","v1.0-r5","v1.0.109","v1.0.130","v1.0.167","v1.0.225"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28902.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}