# CVE-2021-28905

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-05-20 · Modified: 2024-08-03
- Aliases: SUSE-SU-2022:2922-1, UBUNTU-CVE-2021-28905, DEBIAN-CVE-2021-28905, ALPINE-CVE-2021-28905
- Record: https://cvemate.com/vulnerability/CVE-2021-28905 · JSON: https://cvemate.com/vulnerability/CVE-2021-28905/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.423%, percentile 73.807%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine libyang (Alpine Linux): \< 1.0.184-r1 \| \< 1.0.215-r1
- cesnet libyang: ≤ 1.0.225
- debian libyang (Debian): \< 3.4.2+dfsg-2
- ubuntu libyang (Ubuntu): All versions (No fix recorded)
- opensuse libyang&distro=openSUSE Leap 15.3 (openSUSE): \< 1.0.184-150300.3.3.1
- opensuse libyang&distro=openSUSE Leap 15.4 (openSUSE): \< 1.0.184-150300.3.3.1
- suse libyang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3 (SUSE Linux Enterprise): \< 1.0.184-150300.3.3.1
- suse libyang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4 (SUSE Linux Enterprise): \< 1.0.184-150300.3.3.1

## References

- <https://github.com/CESNET/libyang/issues/1452>
- <https://security.gentoo.org/glsa/202107-54>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222922-1/>
- <https://bugzilla.suse.com/1186377>
- <https://www.suse.com/security/cve/CVE-2021-28905>
- <https://ubuntu.com/security/CVE-2021-28905>
- <https://www.cve.org/CVERecord?id=CVE-2021-28905>
- <https://security-tracker.debian.org/tracker/CVE-2021-28905>
- <https://security.alpinelinux.org/vuln/CVE-2021-28905>

---

Data as of 2026-12-05T05:33:04.812Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
