CVE-2021-28906

HIGH

libyang <= 1.0.225 - Denial of Service via Unchecked Return Value in read_yin_leaf()

Title source: llm
STIX 2.1

Description

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.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/CESNET/libyang/issues/1455
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202107-54

Scores

CVSS v3 7.5
EPSS 0.0157
EPSS Percentile 72.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-252
Status published
Products (1)
cesnet/libyang < 1.0.225
Published May 20, 2021
Tracked Since Feb 18, 2026