Skip to content

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

MediumCVSS 6.3 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Ubuntu

Description

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.

Upgrade path

7 packages: 1 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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