← Back

Libyang

libyang

Vendor: Cesnet • 17 CVEs

CVEs (17)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Cesnet
1Libyang
Feb 11, 2025
Apr 11, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
2Cesnet
Fedoraproject
2Fedora
Libyang
Feb 18, 2025
Apr 3, 2023
N/A· v4
5.3 MEDIUM· v3
N/A· v2
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.
1Cesnet
1Libyang
Nov 21, 2024
May 20, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 cra...Show more
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.Show less
1Cesnet
1Libyang
Nov 21, 2024
May 20, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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).
1Cesnet
1Libyang
Nov 21, 2024
May 20, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
1Cesnet
1Libyang
Nov 21, 2024
May 20, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
1Cesnet
1Libyang
Nov 21, 2024
May 20, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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...Show more
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.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
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 i...Show more
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 files may crash.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw,...Show more
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable...Show more
A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which woul...Show more
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications th...Show more
An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.Show less
1Cesnet
1Libyang
Nov 21, 2024
Jan 22, 2020
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang fi...Show more
An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.Show less
3Cesnet
FedoraprojectRedhat
3Enterprise Linux
FedoraLibyang
Nov 21, 2024
Dec 6, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG file...Show more
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.Show less
2Cesnet
Redhat
2Enterprise Linux
Libyang
Nov 21, 2024
Dec 6, 2019
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may b...Show more
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.Show less