CVE-2019-20395
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.85% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 78.9% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-01-22 00:00Z6 YR AGO
- Last updated
- 2024-08-05 02:39Z2 YR AGO
- Reserved
- 2020-01-22
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-674Uncontrolled RecursionClass
- Data version
- 5.1
- Document digest
- 1ab5979dd5b8f58b2237487011e9fd798f72a6fea91c5340a004dc36b9daa4b0
05 Affected products
06 References
- github.comhttps://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1
- github.comhttps://github.com/CESNET/libyang/issues/724
- github.comhttps://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1793924
- lists.debian.org[debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security updatehttps://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
07 Fixed in
Debian 13
- libyang Fixed in 1.0.176-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libyang Fixed in 1.0.176-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libyang No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.