VDB

CVE-2021-28906

CVE-2021-28906 PUBLISHED

Reported by mitre · Published May 20, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libyangAlpine1.0.215-r1, 1.0.184-r1

Affected products

VendorProductVersions
n/an/an/a
alpinelibyang0, 0
n/an/a*

Timeline

  • May 20, 2021 CVE Published
  • May 21, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-28906
vulnetix vdb fixes CVE-2021-28906

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-28906/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›