CVE-2019-20397: cesnet libyang Double Free
Vulnerability summary
CVE-2019-20397 is a high (CVSS 8.8) Double Free vulnerability in cesnet libyang. EPSS estimates a 2.51% chance of exploitation in the next 30 days, higher than 85.2% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 22-01-2020PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.51%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.51% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Cesnet1 product
- libyang0.11:r1 | 0.11:r2 | 0.12:r1 | 0.12:r2 | 0.13:r1 | 0.13:r2 | 0.14:r1 | 0.15:r1 | 0.16:r1 | 0.16:r2 | 0.16:r3
Debian1 product
- libyang< 1.0.176-1
Ubuntu1 product
- libyangAll versions (No fix recorded) | < 0.16.105-3ubuntu0.1~esm1
3 vendors · 3 products
References
9 links- github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4REPORTPatchThird Party Advisory