libyang vulnerability
Published: Tue, 30 Jun 2026 11:49
Summary
libyang could be made to crash or run programs if it received specially crafted network traffic.
Details
It was discovered that libyang incorrectly handled certain metadata list pointers. An attacker could use this issue to cause libyang to crash, resulting in a denial of service, or possibly execute arbitrary code.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu questing
libyang→3.13.5-2ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.5-2ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang-dev→3.13.5-2ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.5-2ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang3→3.13.5-2ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.5-2ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang3
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang3-tools→3.13.5-2ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.5-2ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang3-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu resolute
libyang→3.13.6-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.6-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang-dev→3.13.6-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.6-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang3→3.13.6-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.6-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang3
Most apt upgrades restart their service automatically. needrestart lists anything else.
libyang3-tools→3.13.6-1ubuntu0.1apt_upgradeStandard apt upgrade. Install 3.13.6-1ubuntu0.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libyang3-tools
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8485-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8485-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.