Skip to content
OpenAdvisories
High USN-6164-2 2 CVEs

c-ares vulnerabilities

Published Sep 11, 2023 · Updated Jun 25, 2026

Summary

USN-6164-1 fixed several vulnerabilities in c-ares. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory details:

Hannes Moesl discovered that c-ares incorrectly handled certain ipv6
addresses. An attacker could use this issue to cause c-ares to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2023-31130)

Xiang Li discovered that c-ares incorrectly handled certain UDP packets. A
remote attacker could possibly use this issue to cause c-res to crash,
resulting in a denial of service. (CVE-2023-32067)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS c-ares 1.10.0-3ubuntu0.2+esm2
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS c-ares 1.14.0-1ubuntu0.2+esm1

Vulnerabilities 2

  • High 7.5

    0-byte UDP payload DoS in c-ares

    c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously i…

  • Medium 4.1

    Buffer Underwrite in ares_inet_net_pton()

    c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes wh…

References

  • report
    https://ubuntu.com/security/CVE-2023-31130
  • report
    https://ubuntu.com/security/CVE-2023-32067