{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-136906","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-25T14:25:12.853Z","datePublished":"2026-11-25T14:51:43.969Z","dateUpdated":"2026-11-25T14:51:43.969Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-25T14:51:43.969Z"},"datePublic":"2026-10-23T00:00:00.000Z","title":"libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Missing Release of File Descriptor or Handle after Effective Lifetime","cweId":"CWE-775","type":"CWE"}]}],"affected":[{"vendor":"CESNET","product":"libyang","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"6.4.13","versionType":"semver","status":"affected"}],"packageURL":"pkg:github/CESNET/libyang","repo":"https://github.com/CESNET/libyang"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*","versionEndIncluding":"6.4.13"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":3.7,"baseSeverity":"LOW"}}],"references":[{"url":"https://github.com/CESNET/libyang/issues/2598","tags":["issue-tracking"]},{"url":"https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0","tags":["patch"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279","tags":["technical-description"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath","name":"VulnCheck Advisory: libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Pu Cheng","type":"finder"},{"lang":"en","value":"Pu Cheng","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}