Skip to content
OpenAdvisories
High · 7.5 CVE-2026-44673 EUVD-2026-30484

libyang: lyb_read_string() integer overflow → heap buffer overflow

Published May 14, 2026 · Updated Sep 9, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
CESNET libyang < SO 5.2.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libyang 6.4.13-1 —
Debian 13 libyang No fix yet —
Debian 12 libyang2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 libyang +2 2.1.148-4.el10_2 RHSA-2026:24758
RHEL 9 libyang +2 2.1.148-1.el9_8.1 RHSA-2026:25051
RHEL 8 libyang 1.0.184-2.el8_10 RHSA-2026:24545
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS libyang 2.1.148-2.el10_0.1 RHSA-2026:49666
RHEL 9.6 EUS libyang 2.1.148-1.el9_6.1 RHSA-2026:65508
RHEL 9.4 E4S libyang 2.1.148-1.el9_4.1 RHSA-2026:65467
RHEL 9.2 E4S libyang 2.1.148-1.el9_2.1 RHSA-2026:65477
RHEL 8.8 TUS libyang 1.0.184-1.el8_8.1 RHSA-2026:51339
RHEL 8.8 E4S libyang 1.0.184-1.el8_8.1 RHSA-2026:51339
RHEL 8.6 EUS Long Life libyang 1.0.184-1.el8_6.1 RHSA-2026:51368
RHEL 8.6 AUS libyang 1.0.184-1.el8_6.1 RHSA-2026:51368
RHEL 8.4 EUS Long Life libyang 1.0.184-1.el8_4.1 RHSA-2026:51351
RHEL 8.4 AUS libyang 1.0.184-1.el8_4.1 RHSA-2026:51351

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libyang +2 2.1.148-4.el10_2 ALSA-2026:24758
AlmaLinux 9 libyang +2 2.1.148-1.el9_8.1 ALSA-2026:25051
AlmaLinux 8 libyang 1.0.184-2.el8_10 ALSA-2026:24545

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libyang 2.1.148-4.el10_2 RLSA-2026:24758
Rocky Linux 9 libyang 2.1.148-1.el9_8.1 RLSA-2026:25051
Rocky Linux 8 libyang 1.0.184-2.el8_10 RLSA-2026:24545
ReleasePackageFixed inAdvisory
SLES 15 SP7 libyang 2.1.148-150700.3.5.1 SUSE-SU-2026:2337-1
SLES 15 SP6 libyang 2.1.55-150500.3.5.1 SUSE-SU-2026:2335-1
SLES 15 SP5 libyang 2.1.55-150500.3.5.1 SUSE-SU-2026:2335-1
SLES 15 SP4 libyang 1.0.184-150300.3.9.1 SUSE-SU-2026:2381-1
SLES 12 SP5 libyang 2.1.148-8.8.1 SUSE-SU-2026:2334-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 libyang 2.1.148-160000.4.1 SUSE-SU-2026:22208-1, SUSE-SU-2026:22200-1
SLES for SAP 15 SP6 libyang 2.1.55-150500.3.5.1 SUSE-SU-2026:2335-1
SLES for SAP 15 SP5 libyang 2.1.55-150500.3.5.1 SUSE-SU-2026:2335-1
SLES for SAP 15 SP4 libyang 1.0.184-150300.3.9.1 SUSE-SU-2026:2381-1
SLES 16.0 libyang 2.1.148-160000.4.1 SUSE-SU-2026:22208-1, SUSE-SU-2026:22200-1
SLE HPC 15 SP5 libyang 2.1.55-150500.3.5.1 SUSE-SU-2026:2335-1
SLE HPC 15 SP4 libyang 1.0.184-150300.3.9.1 SUSE-SU-2026:2381-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libyang 3.13.6-3.1 openSUSE-SU-2026:10880-1
openSUSE Leap 16.0 libyang 2.1.148-160000.4.1 openSUSE-SU-2026:21113-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libyang 2.1.148-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libyang +2 2.1.148-4.el10_2 ELSA-2026-24758
Oracle Linux 9 libyang +2 2.1.148-1.el9_8.1 ELSA-2026-25051
Oracle Linux 8 libyang 1.0.184-2.el8_10 ELSA-2026-24545

Advisories 28

References