Medium severity6.5NVD Advisory· Published May 26, 2026· Updated May 26, 2026
CVE-2026-41401
CVE-2026-41401
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13- osv-coords12 versionspkg:rpm/opensuse/libyang&distro=openSUSE%20Tumbleweedpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7pkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSSpkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6pkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/libyang&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5
< 3.13.6-2.1+ 11 more
- (no CPE)range: < 3.13.6-2.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.148-150700.3.5.1
- (no CPE)range: < 2.1.148-8.8.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.148-160000.4.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.55-150500.3.5.1
- (no CPE)range: < 2.1.148-160000.4.1
- (no CPE)range: < 2.1.148-8.8.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.