CVE-2026-41401
CVE-2026-41401 · libyang - Heap Use-After-Free Write in XML Metadata Parsing
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 6.9 · Media · EPSS 0,7% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
libyang
- Versiones
- ≥ 0, < 5.4.3: Afectada (custom)
- 5.4.3: No afectada (custom)
Actualiza a 5.4.3
libyang Debian:13
- Versiones
- 3.12.2-1
- 3.13.5-1
- 3.13.5-2
- 3.13.6-1
- 3.13.6-1~bpo13+1
- 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.0.2-1
- 5.0.8-1
- 5.4.1+really5.4.1-1
- 5.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.1.4-1
- 6.4.13-1
- 6.4.3-1
- 6.4.6-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libyang Debian:14
- Versiones
- 3.12.2-1
- 3.13.5-1
- 3.13.5-2
- 3.13.6-1
- 3.13.6-1~bpo13+1
- 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.0.2-1
- 5.0.8-1
- 5.4.1+really5.4.1-1
- 5.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.1.4-1
- 6.4.3-1
- 6.4.6-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 6.4.13-1
Actualiza a 6.4.13-1
libyang2 Debian:12
- Versiones
- 2.1.148-0.1
- 2.1.148-0.2
- 2.1.30-2
- 2.1.30-2.1
- 2.1.30-2.1~exp1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libyang Ubuntu:20.04:LTS
- Versiones
- 0.16.105-1
- 0.16.105-2
- 0.16.105-3
- 0.16.105-3build1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libyang Ubuntu:22.04:LTS
- Versiones
- 1.0.225-1.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libyang Ubuntu:25.10
- Versiones
- 3.7.8-3
- 3.12.2-1
- 3.12.2-1ubuntu1
- 3.13.5-2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.13.5-2ubuntu0.1
Actualiza a 3.13.5-2ubuntu0.1
libyang Ubuntu:26.04:LTS
- Versiones
- 3.13.5-2
- 3.13.6-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.13.6-1ubuntu0.1
Actualiza a 3.13.6-1ubuntu0.1
Fuentes originales
- https://github.com/CESNET/libyang/security/advisories/GHSA-9f49-8x56-jmjc
- https://github.com/CESNET/libyang/commit/6b5ed47ee674fbe86b31bbebc4ff26889aeff38c
- https://red.anthropic.com/2026/cvd/findings/ANT-2026-TZQ1KH7E
- https://www.vulncheck.com/advisories/libyang-heap-use-after-free-write-in-xml-metadata-parsing
- https://nvd.nist.gov/vuln/detail/CVE-2026-41401