What’s Vulnerable › Vulnerabilities
CVE-2019-20395
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-01-22 · updated 2026-06-17
- Weakness: CWE-674
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.
Affected products
- CESNET libyang: 0.11-r1, 0.11-r2, 0.12-r1, 0.12-r2, 0.13-r1, 0.13-r2 (+5)
References
- 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
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- 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
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
Get alerted when CVE-2019-20395 or the next vulnerability affects your stack