CVE-2026-115327
libyang: libyang: Denial of Service via crafted NETCONF RPC action envelope
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 22, 2026
Updated · October 23, 2026
Description
A flaw was found in libyang. An uninitialized pointer free vulnerability occurs during the processing of Network Configuration Protocol (NETCONF) Remote Procedure Call (RPC) action envelopes. An authenticated remote attacker with an established NETCONF session can trigger this flaw by sending a specially crafted action request containing unexpected text data. Successful exploitation can lead to a Denial of Service (DoS) through application crashes or cause memory corruption.
Statement
This vulnerability is rated as Moderate because successful exploitation requires an established, authenticated session to deliver malformed envelopes, limiting the blast radius primarily to denial of service or application crashes. In typical Red Hat Enterprise Linux environments, libyang is a parser library rather than a standalone network service, and exposing dependent services to untrusted clients is not a default configuration. Consequently, the flaw cannot be triggered remotely without valid credentials and access to a running network management daemon. Red Hat Enterprise Linux 8 ships libyang 1.x, which uses a different parser architecture and does not contain the vulnerable function (lydxml_env_netconf_rpc). As a result, Red Hat Enterprise Linux 8 is not affected by this flaw.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-824 · Access of Uninitialized Pointer