CVE-2026-136907
published medium CVSS 4.0 · 6.3libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| CESNET | — | libyang0 through 6.4.13 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CESNET | libyang | 0 through 6.4.13 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-393 Return of Wrong Status Code
References
4- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0
- https://github.com/CESNET/libyang/issues/2598
- VulnCheck Advisory: libyang through 6.4.13 Wrong Status Code in ly_in_filepath() https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath
Provider assertions
2VulnCheck · cna
libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4296dcd57c4b66586112df03e00b49468943eac05063f82b20f31e9d24c903ae
- Ingested
- 25 Nov 2026, 15:51:40 UTC
- Source record
- Official CVE record