CVE-2026-136905 libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()
MediumCVSS 6.3
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
Description
CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in ly_out_reset() 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 do not truncate the file, leaking leftover bytes of a previous client's output.
Upgrade path
7 packages: 1 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux libyang(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/libyang2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| cesnet libyang | <= 6.4.13 | after 6.4.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cesnet libyang | <= 6.4.13 | No fix listed |
| ubuntu/libyang2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:26.10) | All versions | No fix listed |
| azure linux libyang(Azure Linux:3.0) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libyang2(Ubuntu:22.04) | All versions | No fix listed |
References
- github.com issue-tracking patch
- github.com patch
- github.com technical-description
- VulnCheck Advisory: libyang through 6.4.13 Incomplete Cleanup in ly_out_reset() third-party-advisory
- ENISA EUVD EUVD-2026-135440 third-party-advisory
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory