Cesnet

Libyang

23 Schwachstellen gefunden.

Hinweis: Diese Liste kann unvollständig sein. Daten werden ohne Gewähr im Ursprungsformat bereitgestellt.
  • EPSS 0.51%
  • Veröffentlicht 25.11.2026 14:51:45
  • Zuletzt bearbeitet 25.11.2026 15:17:47

CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in ly_out_reset() in src/out.c that tests a stale errno ESPIPE value after a successful seek. Applications reusing one output handler for different clients rewind but do not t...

  • EPSS 0.62%
  • Veröffentlicht 25.11.2026 14:51:43
  • Zuletzt bearbeitet 25.11.2026 15:17:48

libyang through 6.4.13 contains a file descriptor leak in ly_in_new_filepath() and ly_in_filepath() in src/in.c that fails to close descriptors when file mapping fails. Attackers who can supply files parsed through lyd_parse_data_path() or lys_parse_...

  • EPSS 0.64%
  • Veröffentlicht 25.11.2026 14:51:42
  • Zuletzt bearbeitet 25.11.2026 16:17:47

CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in ly_in_filepath() in src/in.c that reports success when a new file cannot be opened or mapped. Attackers who make an application switch a reused input handler to a n...

  • EPSS 0.87%
  • Veröffentlicht 25.11.2026 14:51:41
  • Zuletzt bearbeitet 25.11.2026 19:17:37

libyang through 6.4.13 contains a release of invalid pointer vulnerability in ly_in_memory() and ly_in_memory_chunk() in src/in.c that return the current read position instead of the previous start address. Attackers supplying YANG data parsed from a...

  • EPSS 0.31%
  • Veröffentlicht 22.10.2026 10:57:45
  • Zuletzt bearbeitet 29.10.2026 04:18:26

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

  • EPSS 0.52%
  • Veröffentlicht 14.05.2026 20:35:13
  • Zuletzt bearbeitet 26.10.2026 14:10:00

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

Exploit
  • EPSS 0.89%
  • Veröffentlicht 11.04.2023 12:15:07
  • Zuletzt bearbeitet 11.02.2025 16:15:36

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.

  • EPSS 0.99%
  • Veröffentlicht 03.04.2023 22:15:07
  • Zuletzt bearbeitet 18.02.2025 17:15:16

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.

Exploit
  • EPSS 2.43%
  • Veröffentlicht 20.05.2021 19:15:07
  • Zuletzt bearbeitet 21.11.2024 06:00:22

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.

Exploit
  • EPSS 1.57%
  • Veröffentlicht 20.05.2021 19:15:07
  • Zuletzt bearbeitet 21.11.2024 06:00:22

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.