Description
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793930Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450edPatch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/742Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793930Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450edPatch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/742Exploit, 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