CVEvulnerability
CVE-2019-20398
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-01-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-476
Description
A 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.
Affected configurations
• cesnet libyang 0.11
• cesnet libyang 0.12
• cesnet libyang 0.13
• cesnet libyang 0.14
• cesnet libyang 0.15
• cesnet libyang 0.16
• cesnet libyang 1.0
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935 Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08 Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 Third Party Advisory
- https://github.com/CESNET/libyang/issues/773 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html lists.debian.org
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935 Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08 Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 Third Party Advisory
- https://github.com/CESNET/libyang/issues/773 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html lists.debian.org