CVE-2026-41401
HIGH EPSS 40.2%
Published May 26, 20261mo ago · Modified Jun 17, 20262w ago
7.1 CVSS 4.0
Published May 26, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
40.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-416 Use After Free Memory Safety
References 4
- github.com https://github.com/CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aeff38c
- github.com https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc
- red.anthropic.com https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7E
- vulncheck.com https://www.vulncheck.com/advisories/libyang-heap-use-after-free-write-in-xml-metadata-parsing
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.