Vulnerability

CVE-2026-41401

highCVSS 4.0 7.1Published 26 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aef…
  • github.com /CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc
  • red.anthropic.com /2026/cvd/findings/ANT-2026-TZQ1KH7E
  • www.vulncheck.com /advisories/libyang-heap-use-after-free-write-in-xml-metada…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning