CVE-2019-20395
libyang: stack-overflow when parsing yang files with self-referential union types
Loading…
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 8, 2019
Updated · November 22, 2025
Description
A stack-overflow flaw was found in libyang due to a self-referential union type containing leafrefs. Applications that use libyang to process untrusted input YANG files may crash while processing malformed files.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-674 · Uncontrolled Recursion