CVE-2021-28906

HIGH

libyang <v1.0.225 - Use After Free

Title source: llm

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.

Scores

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

Classification

CWE
CWE-252
Status published

Affected Products (1)

cesnet/libyang < 1.0.225

Timeline

Published May 20, 2021
Tracked Since Feb 18, 2026