{"id":"UBUNTU-CVE-2026-115327","details":"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.","modified":"2026-10-27T04:17:43.482767226Z","published":"2026-10-26T00:00:00Z","upstream":["CVE-2026-115327"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115327"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115327"},{"type":"REPORT","url":"https://github.com/CESNET/libyang"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1196-L1224"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/parser_xml.c#L1330-L1342"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/commit/927fce908774289a7d9c07fff5704c33965c9773"},{"type":"REPORT","url":"https://github.com/CESNET/libyang/issues/2595"},{"type":"REPORT","url":"https://hackmd.io/@haindpwn/libyang-netconf-rpc-envelope-uninit-free"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-uninitialized-pointer-free-in-netconf-rpc-parser"}],"affected":[{"package":{"name":"libyang","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libyang?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.105-1","0.16.105-2","0.16.105-3","0.16.105-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyang-cpp0.16","binary_version":"0.16.105-3build1"},{"binary_name":"libyang0.16","binary_version":"0.16.105-3build1"},{"binary_version":"0.16.105-3build1","binary_name":"python3-yang"},{"binary_name":"yang-tools","binary_version":"0.16.105-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}},{"package":{"name":"libyang","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libyang?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.225-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyang-cpp1","binary_version":"1.0.225-1.1"},{"binary_name":"libyang-tools","binary_version":"1.0.225-1.1"},{"binary_version":"1.0.225-1.1","binary_name":"libyang1"},{"binary_name":"yang-tools","binary_version":"1.0.225-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}},{"package":{"name":"libyang2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libyang2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.112-6","2.0.112-6ubuntu1","2.0.112-6ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libyang-tools","binary_version":"2.0.112-6ubuntu2"},{"binary_name":"libyang2","binary_version":"2.0.112-6ubuntu2"},{"binary_version":"2.0.112-6ubuntu2","binary_name":"libyang2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}},{"package":{"name":"libyang2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libyang2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.30-2","2.1.30-2.1","2.1.30-2.1build1","2.1.30-2.1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.30-2.1ubuntu0.1","binary_name":"libyang-tools"},{"binary_version":"2.1.30-2.1ubuntu0.1","binary_name":"libyang2-tools"},{"binary_name":"libyang2t64","binary_version":"2.1.30-2.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}},{"package":{"name":"libyang","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libyang?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.13.6-1","3.13.6-1ubuntu1","6.1.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyang-tools","binary_version":"6.1.4-1"},{"binary_name":"libyang5","binary_version":"6.1.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}},{"package":{"name":"libyang","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libyang?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.13.5-2","3.13.6-1","3.13.6-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyang3","binary_version":"3.13.6-1ubuntu0.1"},{"binary_name":"libyang3-tools","binary_version":"3.13.6-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115327.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}