In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the…
Priority LOW 36CWE-252Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
Why it matters now
EPSS 0.01555 75th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Will not fix Red Hat: no fix planned
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28902
- 2026-10-03 Alias added: GHSA-wcmm-c9rc-qjcj
References
Advisory 1
More CESNET Libyang vulnerabilities
- TI-2023-11820 libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via… CVSS 3.1HIGH 7.5
- TI-2019-13946 Stack-based buffer overflow in Red Hat libyang CVSS 3.1CRITICAL 9.8
- TI-2019-13945 Stack-based buffer overflow in Red Hat libyang CVSS 3.1CRITICAL 9.8
- TI-2019-14631 A double-free is present in libyang before v1.0-r1 in the function yyparse() when an… CVSS 3.1HIGH 8.8
- TI-2019-14628 A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type… CVSS 3.1HIGH 8.8
- TI-2019-14627 A double-free is present in libyang before v1.0-r1 in the function yyparse() when an… CVSS 3.1HIGH 8.8
Sources
- CVE-2021-28902 · CVE Program
- CVE-2021-28902 · NVD
- FIRST EPSS
- GHSA-wcmm-c9rc-qjcj · GitHub Advisory Database · CC BY 4.0
- CVE-2021-28902 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences