{"id":"CVE-2021-28903","details":"A stack overflow in libyang \u003c= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.","modified":"2026-08-07T15:15:34.873842Z","published":"2021-05-20T19:15:07.637Z","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/1453"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cesnet/libyang","events":[{"introduced":"0"},{"last_affected":"8e9f87949974c7b2c6dc5e830c0e78e4160fbc50"}],"database_specific":{"cpe":"cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.0.225"}],"source":"CPE_RANGE"}}],"versions":["v1.0.225","v1.0.167","v1.0.130","v1.0.109","v1.0-r5","v1.0-r4","v1.0-r3","v1.0-r2","v1.0-r1","v0.16-r2","v0.16-r1","v0.15-r1","v0.14-r1","v0.13-r2","v0.12-r2","v0.12-r1","v0.11-r2","v0.11-r1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28903.json"}}],"schema_version":"1.8.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"}]}