DEBIAN-CVE-2026-41401

Source
https://security-tracker.debian.org/tracker/CVE-2026-41401
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41401.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-41401
Upstream
Published
2026-05-26T15:16:35Z
Modified
2026-09-14T17:03:33Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

libyang before 5.2.6 contains a heap use-after-free write vulnerability in lyd_parser_set_data_flags that incorrectly updates metadata list pointers when freeing non-head default metadata entries. Attackers can trigger this vulnerability by submitting crafted YANG XML documents with specific metadata attributes to applications parsing untrusted XML data, causing process crashes or potential code execution.

References

Affected packages

Debian:13 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.12.2-1
3.13.5-1
3.13.5-2
3.13.6-1~bpo13+1
3.13.6-1
4.*
4.2.2-1
4.2.2-2
4.2.2-3
4.3.3-1
4.3.4-1
4.7.3-1
5.*
5.0.2-1
5.0.8-1
5.4.1-1
5.4.1+really5.4.1-1
5.4.5-1
5.4.9-1
5.7.1-1
5.8.5-1
5.8.6-1
5.8.6-2
6.*
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41401.json"

Debian:14 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.12.2-1
3.13.5-1
3.13.5-2
3.13.6-1~bpo13+1
3.13.6-1
4.*
4.2.2-1
4.2.2-2
4.2.2-3
4.3.3-1
4.3.4-1
4.7.3-1
5.*
5.0.2-1
5.0.8-1
5.4.1-1
5.4.1+really5.4.1-1
5.4.5-1
5.4.9-1
5.7.1-1
5.8.5-1
5.8.6-1
5.8.6-2
6.*
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41401.json"

Debian:12 / libyang2

Package

Name
libyang2
Purl
pkg:deb/debian/libyang2?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.30-2
2.1.30-2.1~exp1
2.1.30-2.1
2.1.148-0.1
2.1.148-0.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41401.json"