CVE-2019-20398

Summary

CVECVE-2019-20398
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 NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.

Risk And Classification

Problem Types: CWE-476

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 1.0 r1 All All
Application Cesnet Libyang 1.0 r2 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
Application Cesnet Libyang 1.0 r1 All All
Application Cesnet Libyang 1.0 r2 All All

References

ReferenceSourceLinkTags
Segmentation fault in yanglint and yangfuzz due to unprintable characters · Issue #773 · CESNET/libyang · GitHub MISC github.com Exploit, Third Party Advisory
schema tree BUGFIX do not copy unresolved exts in groupings restrictions · CESNET/libyang@7852b27 · GitHub MISC github.com Patch
[SECURITY] [DLA 3572-1] libyang security update MLIST lists.debian.org
1793935 – (CVE-2019-20398) CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free() MISC bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
Comparing v1.0-r2...v1.0-r3 · CESNET/libyang · GitHub MISC github.com Third Party Advisory
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