CVE-2019-19333
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way...
CVE-2019-19333 is a high vulnerability (CVSS 8.1) in Cesnet Libyang, published December 6, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.64%, the 89th percentile. Fixed in libyang 0.16.105-2.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2019-19333- 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2019-8954
8.1
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.
- Record
EUVD-2019-8954- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-68cw-w9pp-fc96
9.8
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way...
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.
- Record
GHSA-68cw-w9pp-fc96- 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 - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2019-19333- 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 - 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2019-19333- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-19333
9.8
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.
- Record
DEBIAN-CVE-2019-19333- 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 - Updated
- 2026-11-02
OSVRHSA-2019:4360
8.1
Red Hat Security Advisory: libyang security update
- Record
RHSA-2019:4360- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-19333
9.8
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.
- Record
UBUNTU-CVE-2019-19333- 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 - 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libyangDebian:13 |
before 0.16.105-2 | 0.16.105-2 |
libyangDebian:14 |
before 0.16.105-2 | 0.16.105-2 |
libyangRed Hat:enterprise_linux:8::appstream |
before 0:0.16.105-3.el8_1.2 | 0:0.16.105-3.el8_1.2 |
libyang-cpp-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.16.105-3.el8_1.2 | 0:0.16.105-3.el8_1.2 |
libyang-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.16.105-3.el8_1.2 | 0:0.16.105-3.el8_1.2 |
libyang-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.16.105-3.el8_1.2 | 0:0.16.105-3.el8_1.2 |
python3-libyang-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.16.105-3.el8_1.2 | 0:0.16.105-3.el8_1.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected | |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19333
github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL
access.redhat.com/errata/RHSA-2019:4360
nvd.nist.gov/vuln/detail/CVE-2019-19333
Show 14 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ
lists.fedoraproject.org/archives/list/[email protected]/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL
github.com/advisories/GHSA-68cw-w9pp-fc96
security-tracker.debian.org/tracker/CVE-2019-19333
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1779573
bugzilla.redhat.com/show_bug.cgi?id=1779576
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_4360.json
access.redhat.com/security/cve/CVE-2019-19333
cve.org/CVERecord?id=CVE-2019-19333
access.redhat.com/security/cve/CVE-2019-19334
cve.org/CVERecord?id=CVE-2019-19334
nvd.nist.gov/vuln/detail/CVE-2019-19334
ubuntu.com/security/CVE-2019-19333