Skip to content

libyang

libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()

CVE-2026-136906Published 25 Nov 2026, 14:51 UTC

Real-world risk

0.6/ 10Low

Routine

If the vulnerable configuration applies to you: 1.3

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from VulnCheck)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
libyangNiche<= 6.4.13—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.9% chance of exploitation in 30 days (percentile 60), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.203
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.2025 × threat 0.950.577
  4. Rounded to one decimal between 0.1 and 100.6

How the score works

Exploitation and evidence timeline

  1. 25 Nov 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 0.6 (cvss fallback)

Weakness

CWE-775

References

Get alerts for libyang

Free email or text alerts when a vulnerability in libyang reaches risk 8 or higher. Nothing else.