# CVE-2019-19333: In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of…

- Severity: High 8.1 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/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): 3.64%, higher than 89% of CVEs (2026-12-01)
- Published: 2019-12-06T15:19:58.000Z
- Modified: 2026-06-17T02:26:31.213Z
- Weaknesses: CWE-121, CWE-787
- Assigned by: redhat

## Description

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

(As written by CVE List.)

## Affected

- Red Hat libyang: libyang all versions before 1.0-r5
- cesnet libyang: 0.11; 0.12; 0.13; 0.14; 0.15; 0.16; 1.0
- redhat enterprise_linux: 8.0

## Every score

- redhat: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19333> (issue-tracking, third-party-advisory)
- <https://github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:4360> (vendor-advisory)

## Sources

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

---

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