CVE-2019-19333
published high CVSS 3.0 · 8.1libyang: stack-based buffer overflow in make_canonical when bits leaf type is used
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | libyanglibyang all versions before 1.0-r5 | Affected | Not stated | redhat |
| Oracle Linux | 8 | libyangaarch64 | Advisory build | 0:0.16.105-3.el8_1.2 | ELSA-2019-4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyangaarch64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Oracle Linux | 8 | libyangx86_64 | Advisory build | 0:0.16.105-3.el8_1.2 | ELSA-2019-4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyangi686 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyangppc64le | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyangs390x | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyangsrc | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | libyangx86_64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-cpp-debuginfoaarch64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-cpp-debuginfoi686 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-cpp-debuginfoppc64le | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-cpp-debuginfos390x | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-cpp-debuginfox86_64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debuginfoaarch64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debuginfoi686 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debuginfoppc64le | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debuginfos390x | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debuginfox86_64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debugsourceaarch64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debugsourcei686 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debugsourceppc64le | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debugsources390x | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | libyang-debugsourcex86_64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libyang-debuginfoaarch64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libyang-debuginfoi686 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libyang-debuginfoppc64le | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libyang-debuginfos390x | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
| Red Hat Enterprise Linux | RHEL-8 | python3-libyang-debuginfox86_64 | Advisory build | 0.16.105-3.el8_1.2 | RHSA-2019:4360 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | libyang | libyang all versions before 1.0-r5 (affected) | redhat · cna |
Weaknesses
1- CWE-121
References
5- RHSA-2019:4360 https://access.redhat.com/errata/RHSA-2019:4360
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19333
- https://github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d
- FEDORA-2019-dfe0b42bc5 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/
- FEDORA-2019-9d83929ffa https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3fcfec5539374a6064302afc06bcd8a46bb92678498d50ace49fee5c333b9069
- Ingested
- 23 Sep 2026, 07:46:27 UTC
- Source record
- Official CVE record