CVE-2026-136907

Source
https://cve.org/CVERecord?id=CVE-2026-136907
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136907.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-136907
Published
2026-11-25T14:51:42Z
Modified
2026-11-25T16:46:06Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-393"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136907.json"
}
References

Affected packages

Git / github.com/cesnet/libyang

Affected ranges

Type
GIT
Repo
https://github.com/cesnet/libyang
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "6.4.13"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "ed9b84f325fb88e1aa467417222c5f0d0ab51fb0"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.0.112
v2.0.194
v2.0.231
v2.0.7
v2.0.88
v2.0.97
v2.1.111
v2.1.128
v2.1.148
v2.1.30
v2.1.4
v2.1.55
v2.1.80
v2.2.8
v3.*
v3.1.0
v3.12.2
v3.13.5
v3.13.6
v3.4.2
v3.7.8
v4.*
v4.2.2
v5.*
v5.4.9
v5.8.6
v6.*
v6.4.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136907.json"