1. Archivio CVE
  2. 2026
  3. CVE-2026-136906

CVE-2026-136906

3.7 Gravità bassa CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L 3.7 – Bassa

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
cesnet libyang <= 6.4.13 –
Tutte le 24 vulnerabilità di Cesnet Libyang

Tipo di vulnerabilità

CWE-775 Missing Release of File Descriptor or Handle after Effective Lifetime

The product does not release a file descriptor or handle after its effective lifetime has ended, i.e., after the file descriptor/handle is no longer needed.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento di risorse

Come si previene

Esercizio · Architettura e progettazione · Limitazione delle risorse Use resource-limiting settings provided by the operating system or environment. For example, when managing system resources in POSIX, setrlimit() can be used to set limits for certain types of resources, and getrlimit() can determine how many resources are available. However, these functions are not available on all operating systems. When the current levels get close to the maximum that is defined for the application (see CWE-770), then limit the allocation of further resources to privileged users; alternately, begin releasing resources for less-privileged users. While this mitigation may protect the system from attack, it will not necessarily stop attackers from adversely impacting other users. Ensure that the application performs the appropriate error checks and error handling in case resources become unavailable (CWE-703).

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 8 CVE di tipo CWE-775, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org