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.
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=1793930
Patch, Third Party Advisory
https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ed
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/742
Scores
CVSS v3
8.8
EPSS
0.0029
EPSS Percentile
52.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-415
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