NULL pointer dereference in libyang - #VU163174

 

NULL pointer dereference in libyang - #VU163174

Published: November 9, 2026


Vulnerability identifier: #VU163174
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

libyang

Remediation

Install security update from vendor's website.

libyang - update to 5.8.6

External References

Related Security Bulletins