CWE
476
Advisory Published
Updated

CVE-2019-20398: Null Pointer Dereference

First published: Wed Jan 22 2020(Updated: )

A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/libyang<1.0
1.0
CESNET=0.11-r1
CESNET=0.11-r2
CESNET=0.12-r1
CESNET=0.12-r2
CESNET=0.13-r1
CESNET=0.13-r2
CESNET=0.14-r1
CESNET=0.15-r1
CESNET=0.16-r1
CESNET=0.16-r2
CESNET=0.16-r3
CESNET=1.0-r1
CESNET=1.0-r2

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-2019-20398?

    CVE-2019-20398 is classified as a high severity vulnerability due to the potential for application crashes from a NULL pointer dereference.

  • How do I fix CVE-2019-20398?

    To fix CVE-2019-20398, you should upgrade libyang to version 1.0-r3 or later.

  • Which versions of libyang are affected by CVE-2019-20398?

    CVE-2019-20398 affects libyang versions prior to v1.0-r3, including versions up to and including 1.0.

  • What type of issue is identified in CVE-2019-20398?

    CVE-2019-20398 is a NULL pointer dereference issue that can lead to application crashes when parsing untrusted YANG files.

  • Can I use older versions of libyang without addressing CVE-2019-20398?

    Using older versions of libyang without addressing CVE-2019-20398 is risky, as they are vulnerable to crashes when processing 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