CVE-2019-20394: cesnet libyang Double Free
Vulnerability summary
CVE-2019-20394 is a high (CVSS 8.8) Double Free vulnerability in cesnet libyang. EPSS estimates a 2.81% chance of exploitation in the next 30 days, higher than 86.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
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-r3 in the function yyparse() when a type statement in used in a notification statement. 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.81%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.81% 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
1 foundLibyang
Maturity: poc
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 | 1.0:r1 | 1.0:r2
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/6cc51b1757dfbb7cff92de074ada65e8523289a6REPORTPatchThird Party Advisory