VYPR

libyang

by libyang

Source repositories

CVEs (7)

  • CVE-2019-19334CriDec 6, 2019
    risk 0.57cvss 9.8epss 0.04

    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…

  • CVE-2019-19333CriDec 6, 2019
    risk 0.57cvss 9.8epss 0.04

    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…

  • CVE-2026-44673HigMay 14, 2026
    risk 0.49cvss 7.5epss 0.01

    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…

  • CVE-2023-26917HigApr 11, 2023
    risk 0.49cvss 7.5epss 0.01

    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.

  • CVE-2021-28904HigMay 20, 2021
    risk 0.49cvss 7.5epss 0.01

    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.

  • CVE-2026-41401MedMay 26, 2026
    risk 0.35cvss 6.5epss 0.01

    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…

  • CVE-2023-26916MedApr 3, 2023
    risk 0.35cvss 5.3epss 0.01

    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.