Home / Cesnet / Libyang / CVE-2019-20394
CVE-2019-20394: is it exploited, and which versions of Cesnet Libyang are affected and fixed?
CVE-2019-20394 is a double free vulnerability in Cesnet Libyang. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: libyang 0.11, libyang 0.12, libyang 0.13 and 4 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2019-20394?
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.
From the CVE record by mitre, last updated August 5, 2024, 02:39 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cesnet | libyang | 0.11 | application |
| cesnet | libyang | 0.12 | application |
| cesnet | libyang | 0.13 | application |
| cesnet | libyang | 0.14 | application |
| cesnet | libyang | 0.15 | application |
| cesnet | libyang | 0.16 | application |
| cesnet | libyang | 1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:30 UTC.
How severe is CVE-2019-20394?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-20394 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.81% probability of exploitation activity in the next 30 days, percentile 86.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-415 Double Free
Where are the vendor advisories and references?
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
- https://github.com/CESNET/libyang/issues/769
- https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6
- https://bugzilla.redhat.com/show_bug.cgi?id=1793932
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update mailing-list
When was it published, and where is the official record?
- Reserved
- January 22, 2020
- Published
- January 22, 2020, 00:00 UTC
- CVE record updated
- August 5, 2024, 02:39 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:30 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libyang?
- Nov 25, 2026CVE-2026-136905 CESNET libyang: incomplete cleanup
- Nov 25, 2026CVE-2026-136906 CESNET libyang: missing Release of File Descriptor or Handle after Effective Lifetime
- Nov 25, 2026CVE-2026-136907 CESNET libyang: return of Wrong Status Code
- Nov 25, 2026CVE-2026-136908 CESNET libyang: free of Pointer not at Start of Buffer
- Oct 22, 2026CVE-2026-115327 CESNET libyang: uninitialized pointer access
- May 14, 2026CVE-2026-44673 CESNET libyang: integer overflow
- Apr 11, 2023CVE-2023-26917 Cesnet Libyang: NULL pointer dereference (crash)
- Apr 3, 2023CVE-2023-26916 Cesnet Libyang: NULL pointer dereference (crash)
Questions about CVE-2019-20394
Is CVE-2019-20394 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 2.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cesnet Libyang are affected by CVE-2019-20394?
libyang 0.11, libyang 0.12, libyang 0.13, libyang 0.14, libyang 0.15, libyang 0.16 and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-20394?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2019-20394?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-20394?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.