# CVE-2019-20393: A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.84%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-22T00:00:00.000Z
- Modified: 2026-06-17T02:30:21.237Z
- Weaknesses: CWE-415
- Assigned by: mitre

## Description

A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cesnet libyang: 0.11; 0.12; 0.13; 0.14; 0.15; 0.16

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/CESNET/libyang/issues/742> (exploit, third-party-advisory)
- <https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1> (third-party-advisory)
- <https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ed> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1793930> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html> (mailing-list)

## Sources

- CVE List: [CVE-2019-20393](https://www.cve.org/CVERecord?id=CVE-2019-20393), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20393](https://nvd.nist.gov/vuln/detail/CVE-2019-20393), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20393 · Whole record: https://cve.day/CVE-2019-20393.json · Rebuilt by cve.day 2026-11-25T22:57:49.298Z
