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.
References
Configurations
No configuration.
History
26 May 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc - | |
| References | () https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7E - |
26 May 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-26 15:16
Updated : 2026-05-26 19:47
NVD link : CVE-2026-41401
Mitre link : CVE-2026-41401
CVE.ORG link : CVE-2026-41401
JSON object : View
Products Affected
No product.
CWE
CWE-416
Use After Free
