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.
CVE-2026-41401
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-05-26. NVD baseline CVSS 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EPSS
- 40.7%
- KEV
- Not listed
Published
May 26, 2026
Last Modified
May 26, 2026
Advisory Details (4)
Auto-updated Jun 13, 2026ANT-2026-TZQ1KH7E · libyang
https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7EHeap Use-After-Free write in libyang XML metadata parsing (lyd_parse_data_mem / lyd_parse_mem_xml) · Advisory · CESNET/libyang · GitHub
https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjclibyang - Heap Use-After-Free Write in XML Metadata Parsing | Advisories | VulnCheck
https://www.vulncheck.com/advisories/libyang-heap-use-after-free-write-in-xml-metadata-parsingcommit 6b5ed47ee674 (CESNET/libyang)
Patch available: CESNET/libyang v5.4.9 (contains commit 6b5ed47ee674)
https://github.com/CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aeff38cVendor Advisories for CVE-2026-41401(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libyang3-tools (3.13.6-1ubuntu0.1) @ resolute | 2026-07-01 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 48× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 122 total refreshes for this CVE.
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 14:08 UTCVendor advisory
- 2026-07-01 14:08 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 22:58 UTCVendor advisory
Show 75 moreShow fewer
- 2026-06-29 22:58 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 23:43 UTCVendor advisory
- 2026-06-28 23:43 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 18:58 UTCVendor advisory
- 2026-06-27 18:58 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 17:56 UTCVendor advisory
- 2026-06-26 17:56 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 12:04 UTCVendor advisory
- 2026-06-25 12:04 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 21:02 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 21:45 UTCGHSA enrichment
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 22:29 UTCVendor advisory
- 2026-06-15 22:29 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-14 20:32 UTCVendor advisory
- 2026-06-14 20:32 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 21:17 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 18:03 UTCVendor advisory
- 2026-06-12 18:02 UTCGHSA enrichment
- 2026-06-11 18:47 UTCVendor advisory
- 2026-06-11 18:47 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 19:31 UTCVendor advisory
- 2026-06-10 19:31 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 20:16 UTCVendor advisory
- 2026-06-09 20:16 UTCGHSA enrichment
- 2026-06-08 20:57 UTCVendor advisory
- 2026-06-08 20:57 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-07 21:39 UTCVendor advisory
- 2026-06-07 21:39 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-06 22:23 UTCVendor advisory
- 2026-06-06 22:23 UTCGHSA enrichment
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 23:07 UTCVendor advisory
- 2026-06-05 23:07 UTCGHSA enrichment
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 23:52 UTCVendor advisory
- 2026-06-04 23:52 UTCGHSA enrichment
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 00:04 UTCVendor advisory
- 2026-06-04 00:04 UTCGHSA enrichment
- 2026-06-03 00:48 UTCVendor advisory
- 2026-06-03 00:48 UTCGHSA enrichment
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu · msrc
Same CWE
10 shownCWE-416
- CVE-2010-3962NVD 8.1EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0806NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0249NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2009-4324NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-3328EG 8.8EPSS 98%HIGH
- CVE-2010-1772EG 8.8HIGH
- CVE-2010-1208EG 8.8EPSS 91%HIGH
- CVE-2010-0050EG 8.8EPSS 96%HIGH
- CVE-2010-0378EG 8.8EPSS 93%HIGH
- CVE-2009-3658EG 8.8EPSS 95%HIGH
Frequently asked(5)
What is CVE-2026-41401?
When was CVE-2026-41401 disclosed?
Is CVE-2026-41401 actively exploited?
What is the CVSS score of CVE-2026-41401?
How do I remediate CVE-2026-41401?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-41401
Is Your Infrastructure Affected by CVE-2026-41401?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.