Description
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.
References8
- github.com/CESNET/libyang
- github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1196-L…
- github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1330-L…
- github.com/CESNET/libyang/commit/927fce908774289a7d9c07fff5704c…
- github.com/CESNET/libyang/issues/2595
- hackmd.io/@haindpwn/libyang-netconf-rpc-envelope-uninit-free
- www.vulncheck.com/advisories/libyang-through-6.4.13-uninitializ…
- hackmd.io/@haindpwn/cve-2026-115327-libyang-netconf-rpc-envelop…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
-
6.0
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 25 · as of 8 November 2026
- CWE
- CWE-824
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.