CVE-2019-20397: Double Free

Published Jan 22, 2020
·
Updated

A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. 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.

Other sources

A double-free is present in libyang up to version v1.0-r1 in function yyparse() when an organization field is not terminated. 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.

Upstream issue: https://github.com/CESNET/libyang/issues/739

Upstream fix: https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4

Red Hat

Affected Software

12 affected componentsFixes available
redhat/libyang<1.0
1.0
CESNET libyang=0.11-r1
CESNET libyang=0.11-r2
CESNET libyang=0.12-r1
CESNET libyang=0.12-r2
CESNET libyang=0.13-r1
CESNET libyang=0.13-r2
CESNET libyang=0.14-r1
CESNET libyang=0.15-r1
CESNET libyang=0.16-r1
CESNET libyang=0.16-r2
CESNET libyang=0.16-r3

Event History

Jan 22, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2019-20397?

CVE-2019-20397 is considered a high severity vulnerability due to its potential for causing crashes or allowing code execution.

2

How do I fix CVE-2019-20397?

To fix CVE-2019-20397, update libyang to version 1.0 or later.

3

What does CVE-2019-20397 affect?

CVE-2019-20397 affects various versions of libyang before 1.0-r1.

4

What kind of vulnerability is CVE-2019-20397?

CVE-2019-20397 is a double-free vulnerability occurring in the yyparse() function when an organization field is not terminated.

5

Can CVE-2019-20397 lead to code execution?

Yes, CVE-2019-20397 can potentially lead to code execution if exploited.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203