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

Vulnerability · Reported by NVD · · CWE-775

Severity
Medium Risk score 63/100
CVSS
6.3 v4.0 · from NVD
Exploit chance (EPSS)
0.62% Higher than 44% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first.

Is it being exploited?

The EPSS model estimates a 0.62% chance this CVE will be exploited in the next 30 days, which is low and higher than 44% of all published CVEs.

Patch priority and what to do

Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

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/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

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-136906

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.