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

c-ares vulnerabilities

Published Jun 14, 2023 · Updated Apr 22, 2026

Summary

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 · 20.04 LTS 20.04:LTS c-ares 1.15.0-1ubuntu0.3
Ubuntu · 22.04 LTS 22.04:LTS c-ares 1.18.1-1ubuntu0.22.04.2

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