CVE-2021-28905: Cesnet Libyang

High severity, CVSS 7.5. EPSS: 1.4% chance of exploitation in the next 30 days.

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

Affected products

  • Cesnet Libyang: up to and including 1.0.225

Published 2021-05-20. Last modified 2026-06-17.