CVE-2026-136906 libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()

Published Updated

Attackers supplying empty files to libyang can exhaust file descriptors, causing later file and socket operations to fail.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-136906?

CVE-2026-136906 is a medium-severity denial of service vulnerability in CESNET libyang, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libyang through 6.4.13 contains a file descriptor leak in ly_in_new_filepath() and ly_in_filepath() in src/in.c that fails to close descriptors when file mapping fails. Attackers who can supply files parsed through lyd_parse_data_path() or lys_parse_path() can repeatedly submit empty files to exhaust descriptors, causing later file and socket operations to fail.

Weakness: CWE-775

How severe is CVE-2026-136906?

CVE-2026-136906 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-136906?

1 open source package ship an affected version, including cesnet/libyang.

An affected version is only exploitable if your software calls ly_in_new_filepath, ly_in_filepath or lyd_parse_data_path. Many projects that include it are not exposed.

PackageAffectedFixed in
cesnet/libyang GitHub
pkg:github/cesnet/libyang
All versions to 6.4.13None

How do I fix CVE-2026-136906?

No fix has been published for CVE-2026-136906 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-136906 being exploited?

There is no known exploitation of CVE-2026-136906 in the wild and no public exploit code.

Sources

Also known as AZL-116170, GHSA-p58p-2jm4-88hq, UBUNTU-CVE-2026-136906.

Is CVE-2026-136906 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free