{"answers":{"affected":"1 open source package ship an affected version, including cesnet/libyang.","exploited":"There is no known exploitation of CVE-2026-136906 in the wild and no public exploit code.","exposure":"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.","fix":"No fix has been published for CVE-2026-136906 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-136906 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-136906 in the wild and no public exploit code.\nExposure: 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.\n\nAffected packages and fixed versions:\n- cesnet/libyang (GitHub): affected all versions up to 6.4.13; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to ly_in_new_filepath, ly_in_filepath or lyd_parse_data_path and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-136906/ (Markdown: https://insights.sbomify.com/CVE-2026-136906/index.md)","id":"CVE-2026-136906","markdown":"https://insights.sbomify.com/CVE-2026-136906/index.md","name":"CVE-2026-136906","record":{"aliases":["AZL-116170","GHSA-p58p-2jm4-88hq","UBUNTU-CVE-2026-136906"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"YANG parsing library","requires_auth":"none","requires_specific_call":true,"summary":"Attackers supplying empty files to libyang can exhaust file descriptors, causing later file and socket operations to fail.","user_interaction":"not_required","vuln_class":"denial_of_service","vulnerable_functions":["ly_in_new_filepath","ly_in_filepath","lyd_parse_data_path"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-775","name":"Missing Release of File Descriptor or Handle after Effective Lifetime"}],"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.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()","id":"CVE-2026-136906","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":null,"products":[],"type":"denial_of_service","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":"cesnet/libyang","n_packages":1,"n_references":5,"n_vendor_status":0,"next":{"headline":"libyang through 6.4.13 Wrong Status Code in ly_in_filepath()","id":"CVE-2026-136907"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":[],"introduced":["0"],"last_affected":["6.4.13"],"name_kind":null,"package":"cesnet/libyang","purl":"pkg:github/cesnet/libyang","purl_source":"cna","scope":"upstream","source":"CVE-2026-136906"}],"prev":{"headline":"libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()","id":"CVE-2026-136905"},"products":["libyang"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["CESNET"]},"summary":"Attackers supplying empty files to libyang can exhaust file descriptors, causing later file and socket operations to fail.","url":"https://insights.sbomify.com/CVE-2026-136906/"}