ldns vulnerability
Published: Thu, 18 Jun 2026 13:33
Summary
ldns could be made to accept spoofed DNS responses.
Details
Pablo Ruiz discovered that ldns did not properly validate DNS responses when used as a stub resolver over UDP. A remote attacker could possibly use this issue to inject arbitrary DNS responses.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
ldns→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
ldnsutils→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns-dev→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns2→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns2
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-ldns→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-ldns→1.7.0-3ubuntu4.1+esm1apt_upgradeStandard apt upgrade. Install 1.7.0-3ubuntu4.1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu focal
ldns→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
ldnsutils→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns-dev→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns2→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns2
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-ldns→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-ldns→1.7.0-4.1ubuntu1+esm2apt_upgradeStandard apt upgrade. Install 1.7.0-4.1ubuntu1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu jammy
ldns→1.7.1-2ubuntu4+esm2apt_upgradeStandard apt upgrade. Install 1.7.1-2ubuntu4+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
ldnsutils→1.7.1-2ubuntu4+esm2apt_upgradeStandard apt upgrade. Install 1.7.1-2ubuntu4+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns-dev→1.7.1-2ubuntu4+esm2apt_upgradeStandard apt upgrade. Install 1.7.1-2ubuntu4+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns3→1.7.1-2ubuntu4+esm2apt_upgradeStandard apt upgrade. Install 1.7.1-2ubuntu4+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns3
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-ldns→1.7.1-2ubuntu4+esm2apt_upgradeStandard apt upgrade. Install 1.7.1-2ubuntu4+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu noble
ldns→1.8.3-2ubuntu0.1~esm1apt_upgrade_esmFixed at 1.8.3-2ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y ldns=1.8.3-2ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
ldnsutils→1.8.3-2ubuntu0.1~esm1apt_upgrade_esmFixed at 1.8.3-2ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils=1.8.3-2ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libldns-dev→1.8.3-2ubuntu0.1~esm1apt_upgrade_esmFixed at 1.8.3-2ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev=1.8.3-2ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libldns3t64→1.8.3-2ubuntu0.1~esm1apt_upgrade_esmFixed at 1.8.3-2ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libldns3t64=1.8.3-2ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
python3-ldns→1.8.3-2ubuntu0.1~esm1apt_upgrade_esmFixed at 1.8.3-2ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python3-ldns=1.8.3-2ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu resolute
ldns→1.8.4-2ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 1.8.4-2ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y ldns=1.8.4-2ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
ldnsutils→1.8.4-2ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 1.8.4-2ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils=1.8.4-2ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libldns-dev→1.8.4-2ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 1.8.4-2ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev=1.8.4-2ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libldns3t64→1.8.4-2ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 1.8.4-2ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libldns3t64=1.8.4-2ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
python3-ldns→1.8.4-2ubuntu0.26.04.1~esm1apt_upgrade_esmFixed at 1.8.4-2ubuntu0.26.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python3-ldns=1.8.4-2ubuntu0.26.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu xenial
ldns→1.6.17-8ubuntu0.1+esm2apt_upgradeStandard apt upgrade. Install 1.6.17-8ubuntu0.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
ldnsutils→1.6.17-8ubuntu0.1+esm2apt_upgradeStandard apt upgrade. Install 1.6.17-8ubuntu0.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y ldnsutils
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns-dev→1.6.17-8ubuntu0.1+esm2apt_upgradeStandard apt upgrade. Install 1.6.17-8ubuntu0.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns-dev
Most apt upgrades restart their service automatically. needrestart lists anything else.
libldns1→1.6.17-8ubuntu0.1+esm2apt_upgradeStandard apt upgrade. Install 1.6.17-8ubuntu0.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y libldns1
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-ldns→1.6.17-8ubuntu0.1+esm2apt_upgradeStandard apt upgrade. Install 1.6.17-8ubuntu0.1+esm2 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-ldns
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8449-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-8449-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.