Description
An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.
References (5)
Core 5
Core References
Mailing List mailing-list
https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1793922
Patch, Third Party Advisory
https://github.com/CESNET/libyang/commit/32fb4993bc8bb49e93e84016af3c10ea53964be5
Third Party Advisory
https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1
Exploit, Third Party Advisory
https://github.com/CESNET/libyang/issues/723
Scores
CVSS v3
6.5
EPSS
0.0020
EPSS Percentile
42.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-119
Status
published
Products (6)
cesnet/libyang
0.11 r1 (2 CPE variants)
cesnet/libyang
0.12 r1 (2 CPE variants)
cesnet/libyang
0.13 r1 (2 CPE variants)
cesnet/libyang
0.14 r1
cesnet/libyang
0.15 r1
cesnet/libyang
0.16 r1 (3 CPE variants)
Published
Jan 22, 2020
Tracked Since
Feb 18, 2026