CVE-2019-19333: Buffer Overflow

Published Dec 4, 2019
·
Updated

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

Other sources

libyang up to version 1 release 4 has a stack-based buffer overflow in function makecanonical() in parser.c, when dealing with "bits" types with a name longer than 511 bytes. An application that uses libyang to validate untrusted YANG files could be vulnerable to this flaw, which could be used by an attacker to cause a denial of service or possibly gain code execution.

Red Hat

Affected Software

17 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
CESNET libyang=1.0-r3
CESNET libyang=1.0-r4
redhat Enterprise Linux=8.0

Event History

Dec 6, 2019
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2019-19333?

CVE-2019-19333 is classified as a high severity vulnerability due to its potential to cause denial of service through a stack-based buffer overflow.

2

How do I fix CVE-2019-19333?

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

3

Which versions of libyang are affected by CVE-2019-19333?

All versions of libyang prior to 1.0-r5 are affected by CVE-2019-19333.

4

What type of attack does CVE-2019-19333 enable?

CVE-2019-19333 enables an attacker to exploit stack-based buffer overflow vulnerabilities, potentially leading to denial of service.

5

Is CVE-2019-19333 specific to certain operating systems?

CVE-2019-19333 primarily affects applications using libyang across various operating systems where vulnerable versions are installed.

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