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.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1 | third party advisory |
https://github.com/CESNET/libyang/issues/742 | third party advisory exploit |
https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ed | third party advisory patch |
https://bugzilla.redhat.com/show_bug.cgi?id=1793930 | issue tracking third party advisory patch |
https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html | mailing list |