VDB

CVE-2026-41401

CVE-2026-41401 PUBLISHED CVSS 6.9 MEDIUM

libyang - Heap Use-After-Free Write in XML Metadata Parsing

Reported by vulncheck · Published May 26, 2026

libyang before 5.4.3 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libyanglibyang5.4.3

Risk scores

CVSS 4.0
6.9
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

VendorProductVersions
libyanglibyang0, 5.4.3
libyanglibyang0, 5.4.3
cesnetlibyang0

Timeline

  • May 26, 2026 CVE Published
  • May 27, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-41401
vulnetix vdb fixes CVE-2026-41401

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41401/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›