p PatchFirst

PatchFirst · Latest vulnerabilities

libyang vulnerabilities

Vulnerabilities published for libyang in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 20

  1. CVE-2026-115327

    Medium · CVSS 6EPSS 0.31%No fix published

    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.

    Published Updated
  2. CVE-2026-41401

    Medium · CVSS 6.9EPSS 0.67%No fix published

    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.

    Published Updated
  3. CVE-2026-44673

    High · CVSS 7.5EPSS 0.64%No fix published

    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.

    Published Updated
  4. CVE-2019-20394

    High · CVSS 8.8EPSS 2.81%Fix available

    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.

    • Update to 1.0.176-1
    Published Updated
  5. CVE-2019-20392

    Medium · CVSS 6.5EPSS 1.88%Fix available

    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.

    • Update to 1.0.176-1
    Published Updated
  6. CVE-2019-19334

    High · CVSS 8.1EPSS 3.87%Fix available

    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.

    • Update to 0.16.105-2
    Published Updated
  7. CVE-2019-19333

    High · CVSS 8.1EPSS 3.64%Fix available

    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.

    • Update to 0.16.105-2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →