#VU125336 Uncontrolled Recursion in libyang
Published: April 8, 2026
libyang
CESNET
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in lyplg_type_store_union when processing a YANG module containing a union value with a circular leaf reference during default value validation. A remote attacker can supply a specially crafted YANG module to cause a denial of service.
The issue is triggered during parsing via lys_parse_mem() when a self-referential leafref is used inside a union type and a default value causes type validation.