CVE-2019-20395
publishedlibyang: stack-overflow when parsing yang files with self-referential union types
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 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.
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=1793924
- https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1
- https://github.com/CESNET/libyang/issues/724
- [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
- f6a19cdb489ba575ae23944a233975752b9906d8ca528e50cd00862ee773418e
- Ingested
- 23 Sep 2026, 07:46:45 UTC
- Source record
- Official CVE record