Use After Free Affecting libyang-devel-doc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.67% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS10-LIBYANGDEVELDOC-17174052
  • published5 Jun 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

CVE-2026-41401  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Centos:10 libyang-devel-doc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyang-devel-doc package and not the libyang-devel-doc package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

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 Base Scores

version 3.1