Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-28905
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-28905 affects libyang versions up to and including v1.0.225. The vulnerability was discovered in the lys_node_free() function where it incorrectly assumes that node->module cannot be NULL, but in certain cases, it can be null, which triggers a reachable assertion (NVD, Gentoo Advisory).

Technical details

The vulnerability is classified as a reachable assertion (CWE-617) issue in the lys_node_free() function. The CVSS v3.1 base score is 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating that it is network accessible, requires low attack complexity, and primarily impacts system availability (NVD).

Impact

The vulnerability can trigger a reachable assertion when node->module is NULL, which can lead to a Denial of Service condition. This affects the availability of systems using the vulnerable versions of libyang (NVD, Gentoo Advisory).

Exploitability

The vulnerability is exploitable remotely and requires low attack complexity with no privileges or user interaction needed. The issue has been documented in the public issue tracker (GitHub Issue).

Mitigation and workarounds

Users should upgrade to libyang version greater than 1.0.225. For Gentoo Linux users specifically, the recommendation is to upgrade to version 1.0.236 or later using the command 'emerge --ask --oneshot --verbose ">=net-libs/libyang-1.0.236"' (Gentoo Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • gcc10-binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-16-binutils.src
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management