1 results (0.002 seconds)
CVSS: 8.3EPSS: 0%CPEs: 1EXPL: 0

CVE-2025-31498 – c-ares has a use-after-free in read_answers()
https://notcve.org/view.php?id=CVE-2025-31498
08 Apr 2025 — 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 h... • https://github.com/c-ares/c-ares/commit/29d38719112639d8c0ba910254a3dd4f482ea2d1 • CWE-416: Use After Free •