Logo
componentlibyang
Name
libyang
Version
2.1.148
Type
library
Description
YANG data modeling language library
Licenses
BSD-3-Clause
PURL
-
CPE
cpe:2.3:*:cesnet:libyang:2.1.148:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
2.0.164
master
3.13.6

Patches#


#
Title
Author
Resolve
1
test_context: skip test case test_searchdirs
Yi Zhao <yi.zhao@windriver.com>
2
parser lyb BUGFIX integer overflow and OOM (#2513)
dominik blain <dominik@qreativelab.io>
CVE-2026-44673
3
parser common BUGFIX invalid metadata removal
Michal Vasko <mvasko@cesnet.cz>
CVE-2026-41401

Vulnerabilities#


Name
Analysis
Description
Patched
libyang is a YANG data modeling language library. Prior to SO 5.2.15, lyb_read_string() in src/parser_lyb.c contains an integer overflow that results in a heap buffer overflow when parsing a maliciously crafted LYB binary blob. An attacker who can supply LYB data to any libyang consumer (NETCONF server, sysrepo, etc.) can trigger a crash or potential heap corruption. This vulnerability is fixed in SO 5.2.15.
Patched
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.