Use-after-free in c-ares - CVE-2026-33630
Published: July 7, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to use-after-free in c-ares query-completion handling for ares_getaddrinfo() when processing crafted DNS responses over TCP. A remote attacker can send crafted DNS responses that trigger re-entrant completion handling to cause a denial of service.
An attacker can force the client to retry over TCP by setting the truncation bit in a UDP response, and the issue was observed when a malicious or on-path DNS server returned a FORMERR response without an OPT record, followed by a second response with the same query id and a connection reset.
Affected software
Fedora
c-ares
How to mitigate CVE-2026-33630
c-ares - addressed in versions 1.34.7-1.fc43, 1.34.7-1.fc44, 1.34.8-1.fc43