CVE-2026-41401libyang
High 7.1
Follow: this CVE · libyang · libyang We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- May 26, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for libyang.
Affected products
- libyang · libyang
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for libyang · SUSE · openSUSE-SU-2026:21113-1 · Jun 20, 2026 High
- Security update for libyang · SUSE · SUSE-SU-2026:22200-1 · Jun 20, 2026 High
- Security update for libyang · SUSE · SUSE-SU-2026:22208-1 · Jun 20, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.