Buffer overflow in Cesnet Libyang

CVE-2019-20391

An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.

Vulnerability class: Buffer Overflow

EPSS: 0.019 (76.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-20391?
CVE-2019-20391 is a medium-severity vulnerability in Cesnet Libyang, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.5/10. Published 2020-01-22.
How severe is CVE-2019-20391?
Medium severity. CVSS v3 base score is 6.5 out of 10.