Advisory

UBUNTU-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

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-26 15:16 UTC
Modified
2026-11-05 11:46 UTC

Affected packages and fixes

libyang

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libyang

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libyang

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.13.5-2ubuntu0.1 (ecosystem)

Fixed versions

3.13.5-2ubuntu0.1

Fix

  • Fixed version 3.13.5-2ubuntu0.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.

libyang

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.13.6-1ubuntu0.1 (ecosystem)

Fixed versions

3.13.6-1ubuntu0.1

Fix

  • Fixed version 3.13.6-1ubuntu0.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.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences