medium5.3
CVE-2026-115327
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 env…
Impact
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.
Affected products
| Product | Affected versions |
|---|---|
| Libyang | through 6.4.13 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/CESNET/libyang
- https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1196-L1224
- https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1330-L1342
- https://github.com/CESNET/libyang/commit/927fce908774289a7d9c07fff5704c33965c9773
- https://github.com/CESNET/libyang/issues/2595
- https://hackmd.io/@haindpwn/libyang-netconf-rpc-envelope-uninit-free
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-uninitialized-pointer-free-in-netconf-rpc-parser
- https://hackmd.io/@haindpwn/cve-2026-115327-libyang-netconf-rpc-envelope-uninit-free