Integer Overflow or Wraparound Affecting CESNET/libyang package, versions [,5.4.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CESNETLIBYANG-16700555
  • published15 May 2026
  • disclosed14 May 2026
  • creditdom-omg5.4.9

Introduced: 14 May 2026

NewCVE-2026-44673  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade CESNET/libyang to version 5.4.9 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound through the lyb_read_string function in src/parser_lyb.c when parsing a specially crafted LYB binary blob. An attacker can cause a crash or corrupt the heap by supplying malicious LYB data to a consumer of the library.

CVSS Base Scores

version 4.0
version 3.1