CVE-2019-20397Cesnet Libyang
High 8.8 No auth needed
Follow: this CVE · Cesnet · Cesnet Libyang We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jan 22, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-415
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.
What to do
- Apply the vendor's security update for Libyang.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cesnet | libyang | 0.11 |
| cesnet | libyang | 0.11 |
| cesnet | libyang | 0.12 |
| cesnet | libyang | 0.12 |
| cesnet | libyang | 0.13 |
| cesnet | libyang | 0.13 |
| cesnet | libyang | 0.14 |
| cesnet | libyang | 0.15 |
| cesnet | libyang | 0.16 |
| cesnet | libyang | 0.16 |
| cesnet | libyang | 0.16 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- lists.debian.org