Advisory

DEBIAN-CVE-2026-41401

Also known as: CVE-2026-41401

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-26 15:16 UTC
Modified
2026-10-30 09:49 UTC

Affected packages and fixes

libyang

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libyang

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.4.13-1 (ecosystem)

Fixed versions

6.4.13-1

Fix

  • Fixed version 6.4.13-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libyang2

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences