libyang - Heap Use-After-Free Write in XML Metadata Parsing
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.5%
exploitation probability
0.5%top 57% of all CVEs
observed exploitation
nono source reports it
libyang before 5.2.6 contains a heap use-after-free write vulnerability in lyd_parser_set_data_flags that incorrectly updates metadata list pointers when freeing non-head default metadata entries. Attackers can trigger this vulnerability by submitting crafted YANG XML documents with specific metadata attributes to applications parsing untrusted XML data, causing process crashes or potential code execution.
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
Affected products
libyang · libyangReferences
https://github.com/CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aeff38chttps://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjchttps://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7Ehttps://www.vulncheck.com/advisories/libyang-heap-use-after-free-write-in-xml-metadata-parsing