CVE-2026-44673 libyang: lyb_read_string() integer overflow → heap buffer overflow

High 7.5 Published Updated

An integer overflow in libyang's LYB parser allows attackers to trigger heap buffer overflows, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44673?

CVE-2026-44673 is a high-severity vulnerability in CESNET libyang, published on 14 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2026-44673?

Linux distribution packages (40)
libyang AlmaLinux:10All versions2.1.148-4.el10_2
libyang-devel AlmaLinux:10All versions2.1.148-4.el10_2
libyang-devel-doc AlmaLinux:10All versions2.1.148-4.el10_2
libyang AlmaLinux:8All versions1.0.184-2.el8_10
libyang AlmaLinux:9All versions2.1.148-1.el9_8.1
libyang-devel AlmaLinux:9All versions2.1.148-1.el9_8.1
libyang-devel-doc AlmaLinux:9All versions2.1.148-1.el9_8.1
libyang Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang-debuginfo Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang-debugsource Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang-devel Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang-devel-doc Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang-tools-debuginfo Red Hat:enterprise_linux:10.2All versions0:2.1.148-4.el10_2
libyang Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.184-2.el8_10
libyang-cpp-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.184-2.el8_10
libyang-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.184-2.el8_10
libyang-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.184-2.el8_10
python3-libyang-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.184-2.el8_10
libyang Red Hat:enterprise_linux:9::appstreamAll versions0:2.1.148-1.el9_8.1
libyang-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.1.148-1.el9_8.1
libyang-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.1.148-1.el9_8.1
libyang-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:2.1.148-1.el9_8.1
libyang-debugsource Red Hat:enterprise_linux:9::crbAll versions0:2.1.148-1.el9_8.1
libyang-devel Red Hat:enterprise_linux:9::crbAll versions0:2.1.148-1.el9_8.1
libyang-devel-doc Red Hat:enterprise_linux:9::crbAll versions0:2.1.148-1.el9_8.1
libyang Red Hat:enterprise_linux_eus:10.0All versions0:2.1.148-2.el10_0.1
libyang-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:2.1.148-2.el10_0.1
libyang-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:2.1.148-2.el10_0.1
libyang-tools-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:2.1.148-2.el10_0.1
libyang Red Hat:rhel_aus:8.4::appstreamAll versions0:1.0.184-1.el8_4.1
libyang Red Hat:rhel_aus:8.6::appstreamAll versions0:1.0.184-1.el8_6.1
libyang Red Hat:rhel_e4s:8.8::appstreamAll versions0:1.0.184-1.el8_8.1
libyang Red Hat:rhel_e4s:9.2::appstreamAll versions0:2.1.148-1.el9_2.1
libyang Red Hat:rhel_e4s:9.4::appstreamAll versions0:2.1.148-1.el9_4.1
libyang Red Hat:rhel_eus:9.6::appstreamAll versions0:2.1.148-1.el9_6.1
libyang Red Hat:rhel_eus_long_life:8.4::appstreamAll versions0:1.0.184-1.el8_4.1
libyang Red Hat:rhel_eus_long_life:8.6::appstreamAll versions0:1.0.184-1.el8_6.1
libyang Red Hat:rhel_tus:8.8::appstreamAll versions0:1.0.184-1.el8_8.1
libyang Rocky Linux:10All versions0:2.1.148-4.el10_2
libyang Rocky Linux:8All versions0:1.0.184-2.el8_10

How do I fix CVE-2026-44673?

Upgrade to a fixed version.

Is CVE-2026-44673 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44673 exists.

Sources

Also known as ALSA-2026:24545, ALSA-2026:24758, ALSA-2026:25051, AZL-86816, DEBIAN-CVE-2026-44673, MINI-9h7p-9h5w-5m34 and 15 more.

Is CVE-2026-44673 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free