Home › Vulnerabilities › CESNET
CESNET libyang Flaws Include Crash Risk and Data Leakage Across Four CVEs
NVD published four CESNET libyang vulnerabilities on 2026-11-25, all affecting versions through 6.4.13. The most severe, CVE-2026-136908 (HIGH, CVSS 8.2), can abort an application that frees a returned pointer, while the three MEDIUM flaws involve file handling and output reuse.
What to look into
- 4 vulnerabilities in CESNET libyang: 1 high, 3 medium (CVSS up to 8.2).
- None of them is known to be exploited yet.
- Start with CVE-2026-136908 (8.2 high): libyang Invalid Pointer Release Vulnerability in CVE-2026-136908. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 4 of 4 can be attacked over the network without logging in, 4 of them without anyone clicking anything.
- Kinds of flaws: Free of Pointer not at Start of Buffer; Return of Wrong Status Code; Missing Release of File Descriptor or Handle after Effective Lifetime; Incomplete Cleanup.
Key points
- Four libyang CVEs were published together, all stated to affect versions through 6.4.13.
- CVE-2026-136908 (HIGH, CVSS 8.2) can abort a process when a returned pointer is freed.
- Three MEDIUM (CVSS 6.3) flaws cover wrong success reporting, descriptor exhaustion, and leftover output data.
- The records do not mention known exploitation, a fixed version, or a workaround.
Overview
NVD published four vulnerabilities in CESNET libyang on 2026-11-25. Each record states that the issue exists through version 6.4.13 and is located in the input or output code in src/in.c or src/out.c. The flaws cover an invalid pointer, a wrong status code, a file descriptor leak, and incomplete cleanup.
Most severe: CVE-2026-136908
Rated HIGH (CVSS 8.2), this flaw affects lyinmemory() and lyinmemorychunk(), which return the current read position instead of the previous start address. According to the record, an attacker who supplies YANG data parsed from a heap buffer can cause an application that frees the returned pointer to pass an interior address to free(), aborting the process.
Medium-severity input and output issues
Three flaws are rated MEDIUM (CVSS 6.3):
- CVE-2026-136907: lyinfilepath() reports success when a new file cannot be opened or mapped. If an application switches a reused input handler to a nonexistent or empty file, the previously loaded file's data may be parsed as the requested input.
- CVE-2026-136906: lyinnewfilepath() and lyinfilepath() do not close descriptors when file mapping fails. The record says repeated empty files can exhaust descriptors, causing later file and socket operations to fail.
- CVE-2026-136905: lyoutreset() tests a stale errno ESPIPE value after a successful seek. Applications that reuse one output handler rewind without truncating, which can leak leftover bytes of a previous client's output.
Exploitation and fixes
The records do not state that any of these flaws is known to be exploited. They also do not name a fixed version or a workaround.
What to do
- Identify systems and applications that use libyang 6.4.13 or earlier.
- Check the upstream CESNET libyang project for a fixed release, since the records do not name one.
- Review code that reuses one input or output handler across different files or clients, as the medium-severity records describe that pattern.
The 4 vulnerabilities
- CVE-2026-136908 8.2 libyang Invalid Pointer Release Vulnerability in CVE-2026-136908
- CVE-2026-136907 6.3 CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in lyinfilepath() in src/in.c that reports success when a new file cannot be opened or mapped. Attackers who make an application switch a reused input handl…
- CVE-2026-136906 6.3 libyang through 6.4.13 contains a file descriptor leak in lyinnewfilepath() and lyinfilepath() in src/in.c that fails to close descriptors when file mapping fails. Attackers who can supply files parsed through lydparsedatapath() or lyspars…
- CVE-2026-136905 6.3 CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in lyoutreset() in src/out.c that tests a stale errno ESPIPE value after a successful seek. Applications reusing one output handler for different clients rewind but…
Frequently asked questions
How many CESNET libyang vulnerabilities were published on November 25, 2026?
4 vulnerabilities: 1 high, 3 medium, with CVSS scores up to 8.2.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-136908 (CVSS 8.2): libyang Invalid Pointer Release Vulnerability in CVE-2026-136908.