AZL-116173: CVE-2026-136907 affecting package libyang 2.1.148-3

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
azure-linux/libyang<=2.1.148-3

Event History

Nov 25, 2026
Advisory Published
via OSV·03:17 PM
Data Sourced
via OSV·03:17 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What applications are realistically exposed to this issue?

Applications using libyang's ly_in_filepath() with a reused input handler are exposed if they can be made to switch that handler to a nonexistent or empty file. The impact is that previously loaded file data may be parsed as though it were the newly requested input.

2

What does an attacker need to trigger the incorrect parsing behavior?

The attacker needs to cause the application to request a nonexistent or empty file after the input handler has already loaded another file. The vulnerable function reports success instead of reporting that the new file could not be opened or mapped.

3

How can an application identify that it may have been affected?

Look for cases where ly_in_filepath() reports success when opening or mapping the requested file should have failed. Affected behavior results in parsing data from the previously loaded file rather than data from the requested file.

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