REDHAT-BUG-2477617: 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.

Affected Software

1 affected component
CESNET libyang<5.2.15

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
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477617?

The severity of REDHAT-BUG-2477617 is rated high with a score of 7.

2

How do I fix REDHAT-BUG-2477617?

To fix REDHAT-BUG-2477617, upgrade to version SO 5.2.15 or later of the libyang library.

3

What kind of vulnerability is REDHAT-BUG-2477617?

REDHAT-BUG-2477617 is an integer overflow vulnerability that can lead to a heap buffer overflow.

4

What components are affected by REDHAT-BUG-2477617?

The CESNET libyang library is affected by REDHAT-BUG-2477617.

5

What potential impact does REDHAT-BUG-2477617 have?

Exploitation of REDHAT-BUG-2477617 can allow attackers to execute arbitrary code via malicious LYB data.

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