# CVE-2021-28904

- 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: UBUNTU-CVE-2021-28904, DEBIAN-CVE-2021-28904, ALPINE-CVE-2021-28904
- Record: https://cvemate.com/vulnerability/CVE-2021-28904 · JSON: https://cvemate.com/vulnerability/CVE-2021-28904/json

## Description

```text
In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.
```

## 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.407%, percentile 73.542%, 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)

## References

- <https://github.com/CESNET/libyang/issues/1451>
- <https://security.gentoo.org/glsa/202107-54>
- <https://ubuntu.com/security/CVE-2021-28904>
- <https://www.cve.org/CVERecord?id=CVE-2021-28904>
- <https://security-tracker.debian.org/tracker/CVE-2021-28904>
- <https://security.alpinelinux.org/vuln/CVE-2021-28904>

---

Data as of 2026-12-05T07:58:50.824Z. 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
