Summary
This update for libyang fixes the following issues
- CVE-2026-41401: use-after-free in `lyd_parser_set_data_flags` when processing crafted YANG XML documents with specific
metadata attributes (bsc#1266316).
- CVE-2026-44673: integer overflow in `lyb_read_string()` of `src/parser_lyb.c` leads to heap buffer overflow when
parsing a maliciously crafted LYB binary blob (bsc#1265330).
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 16.0 Linux Enterprise Server 16.0 | libyang | 2.1.148-160000.4.1 |
| SUSE · SLES for SAP 16.0 Linux Enterprise Server for SAP applications 16.0 | libyang | 2.1.148-160000.4.1 |
Vulnerabilities 2
-
High 7.5
libyang: lyb_read_string() integer overflow → heap buffer overflow
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 …
-
Medium 6.5
libyang - Heap Use-After-Free Write in XML Metadata Parsing
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…