NULL Pointer Dereference Affecting libyang2 package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.12% (32nd 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2404-LIBYANG2-12157071
  • published23 Aug 2025
  • disclosed11 Apr 2023

Introduced: 11 Apr 2023

CVE-2023-26917  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 libyang2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyang2 package and not the libyang2 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.

CVSS Base Scores

version 3.1