p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости libyang

За последние 30 дней в libyang опубликовано уязвимостей: 1; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 20

  1. CVE-2026-115327

    Средний · CVSS 6EPSS 0,31%Нет опубликованного исправления

    libyang through 6.4.13 Uninitialized Pointer Free in NETCONF RPC Parser

    libyang through 6.4.13 contains an uninitialized pointer free vulnerability in lydxml_env_netconf_rpc() in src/parser_xml.c when parsing NETCONF rpc action envelopes. Peers with a NETCONF session can send an action element containing non-whitespace text via lyd_parse_op() to crash servers like netopeer2 or corrupt the heap.

    Опубликовано Обновлено
  2. CVE-2026-41401

    Средний · CVSS 6.9EPSS 0,67%Нет опубликованного исправления

    libyang - Heap Use-After-Free Write in XML Metadata Parsing

    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 this vulnerability by submitting crafted YANG XML documents with specific metadata attributes to applications parsing untrusted XML data, causing process crashes or potential code execution.

  3. CVE-2026-44673

    Высокий · CVSS 7.5EPSS 0,64%Нет опубликованного исправления

    libyang: lyb_read_string() integer overflow → heap buffer overflow

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

  4. CVE-2023-26916

    Средний · CVSS 5.3EPSS 0,99%Есть исправление

    CVE-2023-26916

    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.

    • Обновитесь до 3.4.2+dfsg-2
    Опубликовано Обновлено
  5. CVE-2021-28906

    Высокий · CVSS 7.5EPSS 1,57%Есть исправление

    CVE-2021-28906

    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.

    • Обновитесь до 3.4.2+dfsg-2
  6. CVE-2021-28905

    Высокий · CVSS 7.5EPSS 1,42%Есть исправление

    CVE-2021-28905

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

    • Обновитесь до 3.4.2+dfsg-2
  7. CVE-2021-28904

    Высокий · CVSS 7.5EPSS 1,41%Есть исправление

    CVE-2021-28904

    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.

    • Обновитесь до 3.4.2+dfsg-2
  8. CVE-2021-28903

    Высокий · CVSS 7.5EPSS 2,43%Есть исправление

    CVE-2021-28903

    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.

    • Обновитесь до 3.4.2+dfsg-2
  9. CVE-2021-28902

    Высокий · CVSS 7.5EPSS 1,55%Есть исправление

    CVE-2021-28902

    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.

    • Обновитесь до 3.4.2+dfsg-2
  10. CVE-2019-20398

    Средний · CVSS 6.5EPSS 1,82%Есть исправление

    CVE-2019-20398

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  11. CVE-2019-20397

    Высокий · CVSS 8.8EPSS 2,51%Есть исправление

    CVE-2019-20397

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  12. CVE-2019-20396

    Средний · CVSS 6.5EPSS 1,93%Есть исправление

    CVE-2019-20396

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  13. CVE-2019-20395

    Средний · CVSS 6.5EPSS 1,85%Есть исправление

    CVE-2019-20395

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  14. CVE-2019-20394

    Высокий · CVSS 8.8EPSS 2,81%Есть исправление

    CVE-2019-20394

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  15. CVE-2019-20393

    Высокий · CVSS 8.8EPSS 2,84%Есть исправление

    CVE-2019-20393

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  16. CVE-2019-20392

    Средний · CVSS 6.5EPSS 1,88%Есть исправление

    CVE-2019-20392

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  17. CVE-2019-20391

    Средний · CVSS 6.5EPSS 1,88%Есть исправление

    CVE-2019-20391

    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.

    • Обновитесь до 1.0.176-1
    Опубликовано Обновлено
  18. CVE-2019-19334

    Высокий · CVSS 8.1EPSS 3,87%Есть исправление

    CVE-2019-19334

    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.

    • Обновитесь до 0.16.105-2
    Опубликовано Обновлено
  19. CVE-2019-19333

    Высокий · CVSS 8.1EPSS 3,64%Есть исправление

    CVE-2019-19333

    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.

    • Обновитесь до 0.16.105-2
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →