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

Published Nov 25, 2026
·
Updated

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 handler to a nonexistent or empty file cause it to parse the previously loaded file's data as the requested input.

Affected Software

1 affected component
CESNET libyang<=6.4.13

Event History

Nov 25, 2026
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to trigger the incorrect parsing behavior?

An attacker must be able to make an application reuse an input handler and then switch it to a nonexistent or empty file. Under those conditions, the application may parse data from the previously loaded file instead of the requested input.

2

Are applications that open a new input handler for each file affected by this issue?

The described condition specifically requires reuse of an input handler. Applications that do not reuse input handlers are not described as affected by this behavior.

3

How can an application detect that it may have encountered the issue?

A potential indicator is successful processing being reported after a requested file could not be opened or mapped, followed by parsing results consistent with a previously loaded file. The vulnerable function can report success for the failed file operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203