CVE-2026-115327libyang through 6.4.13 Uninitialized Pointer Free in NETCONF RPC Parser
libyang through 6.4.13 contains an uninitialized pointer free vulnerability in lydxml_env_netconf_rpc() in src/parser_xml.c when parsing NETCONF rpc action envelopes. Peers with a NETCONF session can send an action element containing non-whitespace text via lyd_parse_op() to crash servers like netopeer2 or corrupt the heap.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libyang | Fix pending | UBUNTU-CVE-2026-115327 | |
| Ubuntu 26.04 | libyang | Under investigation | UBUNTU-CVE-2026-115327 | |
| Ubuntu 24.04 | libyang2 | Under investigation | UBUNTU-CVE-2026-115327 | |
| Ubuntu 22.04 | libyang | Under investigation | UBUNTU-CVE-2026-115327 | |
| Ubuntu 22.04 | libyang2 | Under investigation | UBUNTU-CVE-2026-115327 | |
| Ubuntu 20.04 | libyang | Fix pending | UBUNTU-CVE-2026-115327 | |
| Debian 14 | libyang | Fix pending | DEBIAN-CVE-2026-115327 | |
| Debian 13 | libyang | Fix pending | DEBIAN-CVE-2026-115327 | |
| Debian 12 | libyang2 | Fix pending | DEBIAN-CVE-2026-115327 | |
| Red Hat Enterprise Linux 10 | libyang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libyang-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libyang-devel-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libyang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libyang-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libyang-devel-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libyang | Not affected |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CESNET libyang: affected: up to 6.4.13
Vendor advisories:
References
- https://github.com/CESNET/libyang/issues/2595
- https://github.com/CESNET/libyang/commit/927fce908774289a7d9c07fff5704c33965c9773
- https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1330-L1342
- https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1196-L1224
- https://hackmd.io/@haindpwn/libyang-netconf-rpc-envelope-uninit-free
- https://github.com/CESNET/libyang
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-uninitialized-pointer-free-in-netconf-rpc-parser
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.