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

Published May 14, 2026
·
Updated

libyang is a YANG data modeling language library. Prior to SO 5.2.15, lybreadstring() in src/parserlyb.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.

Other sources

libyang: lybreadstring() integer overflow → heap buffer overflow

Microsoft

Affected Software

2 affected componentsFixes available
CESNET libyang<5.2.15
Microsoft azl3 libyang 2.1.148-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libyang to a version that resolves this vulnerability.

    Fixed in 5.2.15

Event History

May 14, 2026
CVE Published
via MITRE·08:35 PM
Data Sourced
via MITRE·08:35 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
May 16, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-44673?

CVE-2026-44673 is classified as a critical vulnerability due to its potential to cause a heap buffer overflow.

2

How do I fix CVE-2026-44673?

To fix CVE-2026-44673, upgrade libyang to version 5.2.15 or later.

3

What causes CVE-2026-44673?

CVE-2026-44673 is caused by an integer overflow in the lyb_read_string() function when parsing a malicious LYB binary blob.

4

What are the potential impacts of CVE-2026-44673?

The potential impacts of CVE-2026-44673 include arbitrary code execution and application crashes due to a heap buffer overflow.

5

Which versions of libyang are affected by CVE-2026-44673?

All versions of libyang prior to 5.2.15 are affected by CVE-2026-44673.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203