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

CVE-2026-136907: libyang through 6.4.13 Wrong Status Code in ly_in_filepath()

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

What happened

Original description from the source: CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in ly_in_filepath() 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 handler to a nonexistent or empty file cause it to parse the previously loaded file's data as the requested input.

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

Relevant change history

  1. Published

    Preliminary advisory published.