# CVE-2019-19333: libyang: The libyang package provides a library for YANG data modeling language

CVE-2019-19333 is fixed in libyang on 1 platform, first by RHSA-2019:4360, released December 23, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2019-19333
- Priority: High
- CVSS: 9.8 (Important)
- EPSS: 0.0364
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 23, 2019

## Description

The libyang package provides a library for YANG data modeling language. libyang is a YANG data modelling language parser and toolkit written (and providing API) in C. The library is used e.g. in libnetconf2, Netopeer2, sysrepo and FRRouting projects.  Security Fix(es):  * libyang: stack-based buffer overflow in make_canonical when bits leaf type is used (CVE-2019-19333)  * libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used (CVE-2019-19334)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  IMPORTANT:  The libyang-devel sub-package has recently been removed from the AppStream repository. If you have previously installed libyang-devel, remove it prior to applying this advisory to make the update successful.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libyang RHEL 8 | 0:0.16.105-3.el8_1.2 | [RHSA-2019:4360](https://patchblox.com/security/data/fix/linux/rhsa-2019-4360.md) | Dec 23, 2019 |
| Linux | libyang ol 8 | 0:0.16.105-3.el8_1.2 | [ELSA-2019-4360](https://patchblox.com/security/data/fix/linux/elsa-2019-4360.md) | Dec 24, 2019 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
