Bug 2481478 (CVE-2026-41401) - CVE-2026-41401 libyang: libyang: Potential code execution via crafted YANG XML documents
Summary: CVE-2026-41401 libyang: libyang: Potential code execution via crafted YANG XM...
Keywords:
Status: NEW
Alias: CVE-2026-41401
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2484705
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 15:02 UTC by OSIDB Bzimport
Modified: 2026-06-04 10:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-26 15:02:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.