7.5
CWE
252
Advisory Published
Updated

CVE-2021-28906

First published: Thu May 20 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
CESNET<=1.0.225

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-28906?

    CVE-2021-28906 has been assigned a medium severity rating due to the potential for application crashes.

  • How do I fix CVE-2021-28906?

    To fix CVE-2021-28906, upgrade libyang to version 1.0.226 or later, which contains the necessary security patches.

  • What software is affected by CVE-2021-28906?

    CVE-2021-28906 affects libyang versions up to and including 1.0.225.

  • What are the potential consequences of CVE-2021-28906?

    The consequences of CVE-2021-28906 include application crashes that can disrupt service continuity.

  • Is CVE-2021-28906 exploitable remotely?

    CVE-2021-28906 may be exploitable remotely depending on how libyang is integrated into applications exposed to untrusted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203