Approved changes feed: RSS · Atom

cpe:2.3:a:c-ares:c-ares:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorC Ares (c440d000-f5b7-54a1-9653-f9fcc44fa9b0)
ProductC Ares (6f714ba7-93a6-563a-8721-cd9bc1b82b4e)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/c-ares/c-ares purl2cpe 2026-06-01 10:13:10.016695
pkg:gitlab/redhat/c-ares purl2cpe 2026-06-01 10:13:10.016697
pkg:rpm/fedora/c-ares purl2cpe 2026-06-01 10:13:10.016698
pkg:rpm/opensuse/c-ares purl2cpe 2026-06-01 10:13:10.016700

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-69186 vulnerable 2026-10-13 12:30:04.210403 c-ares: Memory-amplification denial of service via unvalidated DNS header record counts
MEDIUM (5.3)
c-ares is an asynchronous resolver library. Prior to 1.34.7, ares_dns_parse() trusts the attacker-controlled ANCOUNT, NSCOUNT, and ARCOUNT fields before confirming that the DNS response contains enough bytes for the claimed records. Because process_answer() invokes parsing before transaction ID and question validation, a malicious DNS response can cause ares_dns_record_rr_prealloc() and ares_array_set_size() to reserve disproportionate heap memory for a tiny message. Repeated responses create large allocation and release cycles that can degrade or deny name resolution, without causing memory corruption or information disclosure. This issue is fixed in version 1.34.7.
Published: 2026-09-18T17:25:42.440Z
Updated: 2026-09-18T19:51:33.881Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-69184 vulnerable 2026-10-13 12:30:02.098033 c-ares: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains
HIGH (7.5)
c-ares is an asynchronous resolver library. Prior to 1.34.7, ares_dns_name_parse() enforces backward DNS compression pointers but does not bound the total pointer hops or assembled name length. A malicious DNS server can send a response containing a long descending pointer chain and many resource records whose NAME or RDATA fields refer to the chain, causing repeated decompression work that grows quadratically with message size. A single crafted response can stall the single-threaded c-ares event loop and deny DNS resolution, without causing memory corruption or information disclosure. This issue is fixed in version 1.34.7.
Published: 2026-09-18T17:26:52.210Z
Updated: 2026-09-21T20:48:59.663Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-62408 vulnerable 2026-06-08 07:37:29.636168 c-ares has a Use After Free vulnerability when connection is cleaned up after error
MEDIUM (5.9)
c-ares is an asynchronous resolver library. Versions 1.32.3 through 1.34.5 terminate a query after maximum attempts when using read_answer() and process_answer(), which can cause a Denial of Service. This issue is fixed in version 1.34.6.
Published: 2025-12-08T22:04:08.565Z
Updated: 2025-12-09T16:05:06.098Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-31498 vulnerable 2026-06-08 07:18:57.975246 c-ares has a use-after-free in read_answers()
c-ares is an asynchronous resolver library. From 1.32.3 through 1.34.4, there is a use-after-free in read_answers() when process_answer() may re-enqueue a query either due to a DNS Cookie Failure or when the upstream server does not properly support EDNS, or possibly on TCP queries if the remote closed the connection immediately after a response. If there was an issue trying to put that new transaction on the wire, it would close the connection handle, but read_answers() was still expecting the connection handle to be available to possibly dequeue other responses. In theory a remote attacker might be able to trigger this by flooding the target with ICMP UNREACHABLE packets if they also control the upstream nameserver and can return a result with one of those conditions, this has been untested. Otherwise only a local attacker might be able to change system behavior to make send()/write() return a failure condition. This vulnerability is fixed in 1.34.5.
Published: 2025-04-08T13:53:11.232Z
Updated: 2025-04-08T18:40:36.081Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-25629 vulnerable 2026-06-08 06:31:23.615830 c-ares out of bounds read in ares__read_line()
MEDIUM (4.4)
c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.
Published: 2024-02-23T14:52:24.967Z
Updated: 2025-02-13T17:40:51.243Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-32067 vulnerable 2026-06-08 06:04:44.866967 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-31147 vulnerable 2026-06-08 06:04:41.934647 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-31130 vulnerable 2026-06-08 06:04:41.894580 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-31124 vulnerable 2026-06-08 06:04:41.884977 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.