Description
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/773Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/773Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
Timeline
- Published
- Jan 22, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified