CVE-2021-28906

libyang: NULL pointer dereference in read_yin_leaf()

Published May 20, 2021 CVSS 3.1 · 7.5 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-15559 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00146}

epss

{'score': 0.00112}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 19, 2021, 12:00 AM
Status
Modified
Published
May 20, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Mar 8, 2021, 12:00 AM