Skip to content
OpenAdvisories
High SUSE-SU-2026:2337-1 2 CVEs

Security update for libyang

Published Jun 10, 2026 · Updated Jun 11, 2026

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 1

ReleasePackageFixed in
SUSE · SLES 15 SP7 Linux Enterprise Module for Server Applications 15 SP7 libyang 2.1.148-150700.3.5.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…

References

  • report
    https://bugzilla.suse.com/1265330
  • report
    https://bugzilla.suse.com/1266316
  • web
    https://www.suse.com/security/cve/CVE-2026-41401
  • web
    https://www.suse.com/security/cve/CVE-2026-44673