Description (CNA)
libyang is a YANG data modeling language library. Prior to SO 5.2.15, lyb_read_string() in src/parser_lyb.c contains an integer overflow that results in a heap buffer overflow when parsing a maliciously crafted LYB binary blob. An attacker who can supply LYB data to any libyang consumer (NETCONF server, sysrepo, etc.) can trigger a crash or potential heap corruption. This vulnerability is fixed in SO 5.2.15.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| CESNET / libyang | affected < SO 5.2.15 |
CWE
CWE-190
References
ADP enrichment
No English description supplied.
A flaw was found in libyang, a YANG data modeling language library. An integer overflow in the `lyb_read_string()` function can lead to a heap buffer overflow when parsing a maliciously crafted LYB binary blob. A remote attacker, by supplying this malicious LYB data to any libyang consumer (such as a NETCONF server), could trigger a crash, resulting in a denial of service (DoS), or potentially achieve arbitrary code execution through heap corruption.
- https://access.redhat.com/security/cve/CVE-2026-44673
- https://bugzilla.redhat.com/show_bug.cgi?id=2477617
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44673.json
- https://access.redhat.com/errata/RHSA-2026:49666
- https://access.redhat.com/errata/RHSA-2026:24758
- https://access.redhat.com/errata/RHSA-2026:24545
- https://access.redhat.com/errata/RHSA-2026:51351
- https://access.redhat.com/errata/RHSA-2026:51368
- https://access.redhat.com/errata/RHSA-2026:51339
- https://access.redhat.com/errata/RHSA-2026:65477
- https://access.redhat.com/errata/RHSA-2026:65467
- https://access.redhat.com/errata/RHSA-2026:65508
- https://access.redhat.com/errata/RHSA-2026:25051