7.1

CVE-2026-41401: libyang Use After Free

CVSS: 7.1v4.0HighDeferred
AliasesMGASA-2026-0302UBUNTU-CVE-2026-41401USN-8485-1
Published 26-05-2026Last modified 26-05-2026

Vulnerability summary

CVE-2026-41401 is a high (CVSS 7.1) Use After Free vulnerability in libyang. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 50% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v4.0 (NVD)
EPSS score
0.64%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 26-05-2026
    PublishedVulnerability first disclosed.
  2. 26-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

+0.12 pp

From 0.52% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.64%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libyangAll versions (No fix recorded) | < 6.4.13-1
  • libyang2All versions (No fix recorded)
Libyang1 product
Mageia1 product
  • libyang< 3.13.5-1.1.mga10
Opensuse1 product
  • libyang&distro=openSUSE Tumbleweed< 3.13.6-2.1
Ubuntu1 product
  • libyangAll versions (No fix recorded) | < 3.13.5-2ubuntu0.1 | < 3.13.6-1ubuntu0.1

5 vendors · 6 products

References

12 links
Show all 12 references