CVE-2019-20398
publishedlibyang: NULL pointer dereference in function lys_extension_instances_free()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | libyang | Advisory build | 0.16.105+really1.0-0+deb10u1 | DLA-3572-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://bugzilla.redhat.com/show_bug.cgi?id=1793935
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
- https://github.com/CESNET/libyang/issues/773
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d59be7e7d8bfe062dd50f40fb67f5e52175aeb850f04bd23f38e98ee6c346d5d
- Ingested
- 23 Sep 2026, 07:46:45 UTC
- Source record
- Official CVE record