CVEvulnerability
CVE-2026-41401
7.1 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2026-05-26
- Last modified
- 2026-07-24
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 7.1 HIGH — 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416
Description
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.
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://github.com/CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aeff38c github.com
- https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc github.com
- https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7E red.anthropic.com
- https://www.vulncheck.com/advisories/libyang-heap-use-after-free-write-in-xml-metadata-parsing www.vulncheck.com
- https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc github.com
- https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7E red.anthropic.com