CVE-2026-44673libyang: 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 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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libyang | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libyang | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libyang2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libyang | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libyang2 | Not affected vulnerable_code_not_present | ||
| Debian 14 | libyang | Fixed | 6.4.13-1 | DEBIAN-CVE-2026-44673 |
| Debian 13 | libyang | Fix pending | DEBIAN-CVE-2026-44673 | |
| Debian 12 | libyang2 | Fix pending | DEBIAN-CVE-2026-44673 | |
| Red Hat Enterprise Linux 10 | libyang | Fixed | 0:2.1.148-4.el10_2 | RHSA-2026:24758 |
| Red Hat Enterprise Linux 10 | libyang-devel | Fixed | 0:2.1.148-4.el10_2 | RHSA-2026:24758 |
| Red Hat Enterprise Linux 10 | libyang-devel-doc | Fixed | 0:2.1.148-4.el10_2 | RHSA-2026:24758 |
| Red Hat Enterprise Linux 9 | libyang | Fixed | 0:2.1.148-1.el9_8.1 | RHSA-2026:25051 |
| Red Hat Enterprise Linux 9 | libyang-devel | Fixed | 0:2.1.148-1.el9_8.1 | RHSA-2026:25051 |
| Red Hat Enterprise Linux 9 | libyang-devel-doc | Fixed | 0:2.1.148-1.el9_8.1 | RHSA-2026:25051 |
| Red Hat Enterprise Linux 8 | libyang | Fixed | 0:1.0.184-2.el8_10 | RHSA-2026:24545 |
| AlmaLinux 10 | libyang | Fixed | 2.1.148-4.el10_2 | ALSA-2026:24758 |
| AlmaLinux 10 | libyang-devel | Fixed | 2.1.148-4.el10_2 | ALSA-2026:24758 |
| AlmaLinux 10 | libyang-devel-doc | Fixed | 2.1.148-4.el10_2 | ALSA-2026:24758 |
| AlmaLinux 9 | libyang | Fixed | 2.1.148-1.el9_8.1 | ALSA-2026:25051 |
| AlmaLinux 9 | libyang-devel | Fixed | 2.1.148-1.el9_8.1 | ALSA-2026:25051 |
| AlmaLinux 9 | libyang-devel-doc | Fixed | 2.1.148-1.el9_8.1 | ALSA-2026:25051 |
| AlmaLinux 8 | libyang | Fixed | 1.0.184-2.el8_10 | ALSA-2026:24545 |
| Rocky Linux 10 | libyang | Fixed | 0:2.1.148-4.el10_2 | RLSA-2026:24758 |
| Rocky Linux 9 | libyang | Fixed | 0:2.1.148-1.el9_8.1 | RLSA-2026:25051 |
| Rocky Linux 8 | libyang | Fixed | 0:1.0.184-2.el8_10 | RLSA-2026:24545 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CESNET libyang: affected: < SO 5.2.15
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.