CVE-2019-20396
libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 29, 2019
Updated · November 22, 2025
Description
A heap-based buffer over-read flaw occurs in libyang in function lys_type_free() due to a malformed pattern statement value. Applications that use libyang to process untrusted input yang files may be vulnerable to this flaw, possibly causing a crash or information leaks.
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 · 4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE-125 · Out-of-bounds Read