CVE-2019-20391: Buffer Overflow

Published Jan 22, 2020
·
Updated

An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolvefeaturevalue() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.

Other sources

An invalid memory access flaw is present in libyang up to version v1.0-r3 in function resolvefeaturevalue() when a if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.

Upstream fix: https://github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8

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

Red Hat

Affected Software

14 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
CESNET libyang=1.0-r1
CESNET libyang=1.0-r2

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

CVE-2019-20391 has a moderate severity level due to the potential for application crashes when processing untrusted yang files.

2

How do I fix CVE-2019-20391?

To fix CVE-2019-20391, upgrade libyang to version 1.0-r3 or later.

3

What versions of libyang are affected by CVE-2019-20391?

CVE-2019-20391 affects libyang versions up to 1.0-r2, including earlier versions.

4

What type of applications are impacted by CVE-2019-20391?

Applications that use libyang to parse untrusted input yang files are impacted by CVE-2019-20391.

5

Is there a risk of data breach with CVE-2019-20391?

While CVE-2019-20391 primarily causes application crashes, using vulnerable versions poses a risk when handling 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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203