File Descriptor Leak in libyang Affecting CESNET Software
CVE-2026-136906

6.3MEDIUM

Key Information:

Vendor

Cesnet

Status
Vendor
CVE Published:
25 November 2026

What is CVE-2026-136906?

libyang version 6.4.13 contains a vulnerability that leads to a file descriptor leak in the functions ly_in_new_filepath() and ly_in_filepath() located in src/in.c. This issue arises when file mapping fails, as the implementation does not properly close file descriptors. Attackers capable of providing files that are parsed through the functions lyd_parse_data_path() or lys_parse_path() can exploit this vulnerability by continually submitting empty files. This repeated action can exhaust file descriptors, ultimately resulting in the failure of subsequent file and socket operations, thus creating a significant risk to the stability of applications relying on libyang.

Affected Version(s)

libyang 0 <= 6.4.13

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Pu Cheng
Pu Cheng
.