# CVE-2021-28903

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

## Description

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

## 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: 2.425%, percentile 84.749%, 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/1453>
- <https://security.gentoo.org/glsa/202107-54>
- <https://ubuntu.com/security/CVE-2021-28903>
- <https://www.cve.org/CVERecord?id=CVE-2021-28903>
- <https://security-tracker.debian.org/tracker/CVE-2021-28903>
- <https://security.alpinelinux.org/vuln/CVE-2021-28903>

---

Data as of 2026-12-05T04:22:42.136Z. 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
