USN-8951-1: c-ares vulnerabilities

Published Oct 21, 2026
·
Updated

It was discovered that c-ares incorrectly parsed certain SOA replies. A remote attacker could possibly use this issue to cause c-ares to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-22217) It was discovered that c-ares incorrectly handled certain sortlist strings. A remote attacker could possibly use this issue to cause c-ares to crash, resulting in a denial of service, or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2022-4904) It was discovered that c-ares did not properly limit DNS compression pointer hops or assembled name lengths when parsing DNS names. A remote attacker could possibly use this issue to cause c-ares to use excessive resources, resulting in a denial of service. (CVE-2026-69184) It was discovered that c-ares did not properly validate record count fields before allocating memory when parsing DNS responses. A remote attacker could possibly use this issue to cause c-ares to use excessive resources, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-69186)

Affected Software

13 affected componentsFixes available
Ubuntu c-ares
All of the following
ubuntu/libcares2<1.34.6-1ubuntu0.2
1.34.6-1ubuntu0.2
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libcares2<1.27.0-1.0ubuntu1.1
1.27.0-1.0ubuntu1.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libc-ares2<1.18.1-1ubuntu0.22.04.4
1.18.1-1ubuntu0.22.04.4
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libc-ares2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libc-ares2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libc-ares2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libcares2 to a version that resolves this vulnerability.

    Fixed in 1.34.6-1ubuntu0.2
  2. Upgrade

    Upgrade ubuntu/libcares2 to a version that resolves this vulnerability.

    Fixed in 1.27.0-1.0ubuntu1.1
  3. Upgrade

    Upgrade ubuntu/libc-ares2 to a version that resolves this vulnerability.

    Fixed in 1.18.1-1ubuntu0.22.04.4
  4. Upgrade

    Upgrade ubuntu/libc-ares2 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Oct 21, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203