Use-after-free in libyang - #VU136053
Published: July 1, 2026
Vulnerability identifier: #VU136053
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vendor: CESNET
Affected software:
libyang
libyang
Detailed vulnerability description
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error in the "lyd_validate_unres", "lyd_validate_unres_when" and "lyd_validate_autodel_node_del" functions. A remote attacker can execute arbitrary code on the target system.
Remediation
Install updates from vendor's website.