Use-after-free in libyang - #VU125337

 

Use-after-free in libyang - #VU125337

Published: April 8, 2026 / Updated: May 20, 2026


Vulnerability identifier: #VU125337
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: CESNET
Affected software:
libyang

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to use-after-free in the XML data parser when parsing a crafted YANG XML document with specific metadata attributes. A remote user can send a specially crafted XML document to cause a denial of service.

Applications parsing attacker-controlled or semi-trusted XML-encoded YANG instance data are affected, including NETCONF, RESTCONF, and configuration import scenarios.


Remediation

Install security update from vendor's website.

Sources