CVE-2026-136906
published medium CVSS 4.0 · 6.3libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| CESNET | — | libyang0 through 6.4.13 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CESNET | libyang | 0 through 6.4.13 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-775 Missing Release of File Descriptor or Handle after Effective Lifetime
References
5- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0
- https://github.com/CESNET/libyang/issues/2598
- VulnCheck Advisory: libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath() https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath
Provider assertions
2VulnCheck · cna
libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 390de122c1b0f034619b4f3fcb03ec87ebf55190b2101d5466eb559d25882b7a
- Ingested
- 30 Nov 2026, 18:59:00 UTC
- Source record
- Official CVE record