Search CVE reports


Toggle filters

1 – 10 of 19 results


CVE-2026-41401

Medium priority

Some fixes available 2 of 4

libyang before 5.2.6 contains a heap use-after-free write vulnerability in lyd_parser_set_data_flags that incorrectly updates metadata list pointers when freeing non-head default metadata entries. Attackers can trigger...

2 affected packages

libyang, libyang2

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Fixed Not in release Needs evaluation Needs evaluation
libyang2 Not in release Not affected Not affected
Show less packages

CVE-2026-44673

Medium priority
Not affected

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

2 affected packages

libyang, libyang2

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Not affected Not affected
libyang2 Not in release Not affected Not affected
Show less packages

CVE-2023-26917

Medium priority

Some fixes available 1 of 2

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.

2 affected packages

libyang, libyang2

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not in release Not affected Not affected Not in release
libyang2 Fixed Not affected
Show less packages

CVE-2023-26916

Medium priority

Some fixes available 1 of 2

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

2 affected packages

libyang, libyang2

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not in release Not affected Not affected Not in release
libyang2 Fixed Not affected
Show less packages

CVE-2021-28906

Low priority
Vulnerable

In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Vulnerable Vulnerable Not in release
Show less packages

CVE-2021-28905

Low priority
Vulnerable

In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Not affected Vulnerable Not in release
Show less packages

CVE-2021-28904

Low priority
Vulnerable

In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Not affected Vulnerable Not in release
Show less packages

CVE-2021-28903

Low priority
Vulnerable

A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Vulnerable Vulnerable Not in release
Show less packages

CVE-2021-28902

Low priority
Vulnerable

In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Vulnerable Vulnerable Not in release
Show less packages

CVE-2019-20398

Medium priority
Vulnerable

A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang...

1 affected package

libyang

Package 26.04 LTS 24.04 LTS 22.04 LTS 20.04 LTS 18.04 LTS
libyang Not affected Not in release Not affected Vulnerable Not in release
Show less packages