CVE-2019-19334
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 "identityref". 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 "identityref". 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-19334- 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-8955
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 "identityref". 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-8955- 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-936c-h6q8-79c4
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 "identityref". 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-936c-h6q8-79c4- 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 "identityref". 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-19334- 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 "identityref". 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-19334- 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-19334
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 "identityref". 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-19334- 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-19334
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 "identityref". 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-19334- 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
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-19334 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.87%, the 90th percentile. Fixed in libyang 0.16.105-2.
References
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334
github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6
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-19334
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-936c-h6q8-79c4
security-tracker.debian.org/tracker/CVE-2019-19334
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
nvd.nist.gov/vuln/detail/CVE-2019-19333
access.redhat.com/security/cve/CVE-2019-19334
cve.org/CVERecord?id=CVE-2019-19334
ubuntu.com/security/CVE-2019-19334