6.5Media

CVE-2026-41401libyang - Heap Use-After-Free Write in XML Metadata Parsing

libyang libyang Publicada: (hace 5 meses)

Descripción

libyang before 5.4.3 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.

Debilidad (CWE): CWE-416

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
cesnet libyang < 5.4.3
libyang libyang < 5.4.3, fixed 5.4.3

Referencias y parches