Use-after-free in libyang - #VU136053

 

Use-after-free in libyang - #VU136053

Published: July 1, 2026


Vulnerability identifier: #VU136053
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

libyang

Remediation

Install updates from vendor's website.

libyang - update to 5.8.9

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins