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

CVE-2026-136905: libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()

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-136905: medium-severity vulnerability (CVSS 6.3) in CESNET libyang.

What happened

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

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-459

Relevant change history

  1. Published

    Preliminary advisory published.