CVE-2019-20395

Summary

CVECVE-2019-20395
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-01-22 22:15:00 UTC
Updated2023-09-19 22:15:00 UTC
DescriptionA stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.

Risk And Classification

Problem Types: CWE-674

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cesnet Libyang 0.11 r1 All All
Application Cesnet Libyang 0.11 r2 All All
Application Cesnet Libyang 0.12 r1 All All
Application Cesnet Libyang 0.12 r2 All All
Application Cesnet Libyang 0.13 r1 All All
Application Cesnet Libyang 0.13 r2 All All
Application Cesnet Libyang 0.14 r1 All All
Application Cesnet Libyang 0.15 r1 All All
Application Cesnet Libyang 0.16 r1 All All
Application Cesnet Libyang 0.16 r2 All All
Application Cesnet Libyang 0.16 r3 All All
Application Cesnet Libyang 0.11 r1 All All
Application Cesnet Libyang 0.11 r2 All All
Application Cesnet Libyang 0.12 r1 All All
Application Cesnet Libyang 0.12 r2 All All
Application Cesnet Libyang 0.13 r1 All All
Application Cesnet Libyang 0.13 r2 All All
Application Cesnet Libyang 0.14 r1 All All
Application Cesnet Libyang 0.15 r1 All All
Application Cesnet Libyang 0.16 r1 All All
Application Cesnet Libyang 0.16 r2 All All
Application Cesnet Libyang 0.16 r3 All All

References

ReferenceSourceLinkTags
1793924 – (CVE-2019-20395) CVE-2019-20395 libyang: stack-overflow when parsing yang files with self-referential union types MISC bugzilla.redhat.com Issue Tracking, Third Party Advisory
Comparing v0.16-r3...v1.0-r1 · CESNET/libyang · GitHub MISC github.com Third Party Advisory
Segmentation fault due to self-refential union type containing leafrefs · Issue #724 · CESNET/libyang · GitHub MISC github.com Exploit, Third Party Advisory
resovle BUGFIX handle cyclic typedefs with unions · CESNET/libyang@4e610cc · GitHub MISC github.com Third Party Advisory
[SECURITY] [DLA 3572-1] libyang security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 6000044 Debian Security Update for libyang (DLA 3572-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report