NULL pointer dereference in libyang - #VU163174
Published: November 9, 2026
Vulnerability details
The vulnerability allows an attacker to crash applications that use libyang to serialize attacker-controlled data as JSON, causing denial of service.
The vulnerability exists due to a NULL-pointer dereference in libyang's JSON printer when an opaque parent node has an unresolvable namespace. An attacker can supply crafted XML containing that parent and a child with a resolvable namespace to trigger the crash when an application prints the data as JSON.