CVE-2026-136906
NVD
Vulnerability 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.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 3.7)
CVSS v3.1 Base Metrics — Score 3.7 (LOW)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow
Affected & Patched Versions
- CESNET libyang <= 6.4.13
- CESNET libyang 6.4.13
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run CESNET libyang and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new CESNET libyang CVEsYou are reading CVE-2026-136906. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/CESNET/libyang/issues/2598
- Patchhttps://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0
- Referencehttps://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279
- Referencehttps://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316
- Referencehttps://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath
Data last checked: Nov 30, 2026 06:29 UTC