8.8
CWE
415
Advisory Published
Updated

CVE-2019-20394: Double Free

First published: Wed Jan 22 2020(Updated: )

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

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-20394?

    CVE-2019-20394 has a high severity due to the potential for crashes or code execution from a double-free vulnerability.

  • How do I fix CVE-2019-20394?

    To fix CVE-2019-20394, update libyang to version 1.0-r3 or higher.

  • What versions of libyang are affected by CVE-2019-20394?

    CVE-2019-20394 affects libyang versions before 1.0-r3, including specific versions 0.11-r1, 0.11-r2, 0.12-r1, 0.12-r2, 0.13-r1, 0.13-r2, 0.14-r1, 0.15-r1, 0.16-r1, 0.16-r2, and 0.16-r3.

  • What is the cause of CVE-2019-20394?

    CVE-2019-20394 is caused by a double-free vulnerability in the yyparse() function when processing type statements in notification statements.

  • Can applications using libyang be exploited due to CVE-2019-20394?

    Yes, applications that use libyang to parse untrusted input yang files may be vulnerable to exploitation due to CVE-2019-20394.

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