libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used
Published Dec 6, 2019
9.8
CRITICALCVSS 3.1
EPSS 3.87%
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 "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.
Affected products
-
- Version libyang all versions before 1.0-r5StatusaffectedConstraints-
- Version
Configuration 1
- 0.11
- 0.11
- 0.12
- 0.12
- 0.13
- 0.13
- 0.14
- 0.15
- 0.16
- 0.16
- 0.16
- 1.0
- 1.0
- 1.0
- 1.0
Configuration 2
- 8.0
Configuration 3
- 31
No data.
Red Hat Enterprise Linux 8
libyang-0:0.16.105-3.el8_1.2
Fixed · RHSA-2019:4360
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libyang-0:0.16.105-3.el8_1.2 | Fixed | RHSA-2019:4360 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2021-2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 3.87% (0.03870) | 89.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.98% (0.03977) | 89.11th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.86% (0.00864) | 73.00th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.27% (0.03267) | 78.41th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.86% (0.00864) | 73.50th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.39% (0.00387) | 74.04th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.34% (0.00338) | 70.55th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.34% (0.00338) | 68.13th | v3 (v2023.03.01) |
| Oct 10, 2023 | 0.30% (0.00303) | 66.08th | v3 (v2023.03.01) |
| Sep 25, 2023 | 0.31% (0.00312) | 66.53th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.30% (0.00298) | 64.57th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.40% (0.02398) | 81.51th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.40% (0.02398) | 79.76th | v2 (v2022.01.01) |
| Feb 4, 2022 | 25.99% (0.25992) | 95.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 11.07% (0.11072) | 88.02th | v1 |
| Jan 6, 2022 | 11.07% (0.11072) | 87.87th | v1 |
| Sep 1, 2021 | 2.70% (0.02700) | 79.37th | v1 |
| Apr 14, 2021 | 2.70% (0.02700) | 0.00th | v1 |
References (9)
- https://access.redhat.com/errata/RHSA-2019:4360 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-19334 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1779576 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6 x_refsource_CONFIRMPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-19334
- https://www.cve.org/CVERecord?id=CVE-2019-19334
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:4360 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2019-19334 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1779576 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19334 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/ | vendor-advisoryx_refsource_FEDORA | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/ | vendor-advisoryx_refsource_FEDORA | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-19334 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-19334 |
Change history (0)
No recorded changes yet.