A heap-based buffer over-read is present in libyang up to version v1.0-r1 in function lys_type_free() due to malformed pattern statement value. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or information leaks. Upstream issue: https://github.com/CESNET/libyang/issues/740 Upstream fix: https://github.com/CESNET/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8
Created libyang tracking bugs for this issue: Affects: fedora-all [bug 1797550]