{"id":"CVE-2021-28906","aliases":["CVE-2021-28906"],"related":[],"kind":"vulnerability","state":"published","title":"In function readyinleaf() in libyang <= v1.0.225, it doesn't check whether the value of retval-ext[r] is NULL.","summary":"In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.","source":"cvelist"},{"lang":"es","text":"En la función read_yin_leaf() en libyang versiones anteriores a v1.0.225 incluyéndola, no comprueba si el valor de retval-)ext [r] es NULL.&#xa0;En algunos casos, puede ser NULL, lo que conlleva a la operación de retval-)ext[r]-)flags que resulta en un bloqueo","source":"nvd"}],"published":"2021-05-20T18:36:44.000Z","modified":"2026-06-17T03:47:01.737Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.0.225"}],"vendor":"cesnet","product":"libyang","cpe":"cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/CESNET/libyang/issues/1455","tags":["exploit","issue-tracking","patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202107-54","tags":["third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28906","url":"https://www.cve.org/CVERecord?id=CVE-2021-28906","licence":"CVE Terms of Use","modified":"2024-08-03T21:55:12.219Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28906","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28906","licence":"Public domain","modified":"2026-06-17T03:47:01.737Z"}],"updatedAt":"2026-11-25T22:58:01.479Z","epss":{"score":0.01572,"percentile":0.76129,"date":"2026-12-01T12:00:22.000Z"}}