Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-136906

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

CESNET libyang

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-136906: medium-severity vulnerability (CVSS 6.3) in CESNET libyang.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

CESNET libyang <= 6.4.13

ProductVersionsFixed in
CESNET libyang<= 6.4.13—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-775

Relevant change history

  1. Published

    Preliminary advisory published.