← Back to CVE search

CVE-2026-41401

libyang

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.

CVSS 6.5EPSS 0.519%Risk 0.68
View source
Published
2026-05-26 15:16:35
Affected versions
<5.2.6
Type
Package
Last modified
2026-07-24 11:10:00
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H