NULL pointer dereference in libyang - #VU163175
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated attacker to crash applications using libyang to parse attacker-controlled JSON, causing denial of service.
The vulnerability exists due to a missing NULL check in libyang's sorted-data list comparison when duplicate keys and nested opaque metadata with unqualified attributes produce mismatched list key chains. An unauthenticated attacker can supply crafted JSON to an application that parses untrusted data with sorted-data insertion enabled, terminating its process.